mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
ede14c75fb
Change-Id: I0608aea2bd634156bf800b3be47a5c2a6d9fadca
18 lines
463 B
Ruby
18 lines
463 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 || !(ENV['REUSE_BROWSER'] == 'true')) && @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
|