mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
f850ddf73b
All other repositories have tests in “tests” folder. For more information see: http://lists.wikimedia.org/pipermail/qa/2014-July/001663.html http://lists.wikimedia.org/pipermail/qa/2014-July/001667.html http://lists.wikimedia.org/pipermail/qa/2014-July/001672.html Change-Id: Ib1e4fa4b7203bd8217615db1ceac23a329c081f1
18 lines
462 B
Ruby
18 lines
462 B
Ruby
at_exit do
|
|
$browser.close unless ENV["KEEP_BROWSER_OPEN"] == "true"
|
|
end
|
|
|
|
#This is for the multiedit test
|
|
Before("@edit_user_page_login") do
|
|
if (!$edit_user_page_login or !(ENV["REUSE_BROWSER"] == "true")) and @browser
|
|
step "I am logged in"
|
|
step "I go to the browser specific edit page page"
|
|
step "I edit the page with Editing with"
|
|
$edit_user_page_login=true
|
|
end
|
|
end
|
|
|
|
Before("@language_screenshot") do |scenario|
|
|
@scenario = scenario
|
|
end
|