mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
e47d02adb1
Change-Id: I5782886fbaed8b520a5af727a5938f670d747c9b
14 lines
366 B
Ruby
14 lines
366 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 am at my user page"
|
|
step "I edit the page with Editing with"
|
|
$edit_user_page_login=true
|
|
end
|
|
end
|