Commit 69270469 authored by Mathieu Giraud's avatar Mathieu Giraud

test/functional/vidjil_browser.rb: $b.devel_mode()

parent 2f419b4c
......@@ -373,6 +373,11 @@ class VidjilBrowser < Watir::Browser
return tag_selector.button(:text => 'ok')
end
# Enter in dev mode
def devel_mode
$b.execute_script('$(".devel-mode").show();')
end
# Unselect everything, both on clones, and move away from menus (as if we click on the back)
def unselect
$b.execute_script('m.unselectAll()')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment