Commit 69270469 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

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

parent 2f419b4c
...@@ -373,6 +373,11 @@ class VidjilBrowser < Watir::Browser ...@@ -373,6 +373,11 @@ class VidjilBrowser < Watir::Browser
return tag_selector.button(:text => 'ok') return tag_selector.button(:text => 'ok')
end 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) # Unselect everything, both on clones, and move away from menus (as if we click on the back)
def unselect def unselect
$b.execute_script('m.unselectAll()') $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