mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
e9cc4b441b
This should make it possible to run all of the VE test suite against an arbitrary wiki (with VE installed) including the latest vagrant image with VisualEditor role enabled Tested on the vagrant image and on beta labs Change-Id: Ib249e4ffb607210756bb110187c7e2864b0c83f5
14 lines
389 B
Ruby
14 lines
389 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
|