2014-02-07 01:51:38 +00:00
|
|
|
at_exit do
|
|
|
|
$browser.close unless ENV["KEEP_BROWSER_OPEN"] == "true"
|
|
|
|
end
|
|
|
|
|
2014-04-28 19:32:13 +00:00
|
|
|
#This is for the multiedit test
|
|
|
|
Before("@edit_user_page_login") do
|
2014-05-09 17:53:16 +00:00
|
|
|
if (!$edit_user_page_login or !(ENV["REUSE_BROWSER"] == "true")) and @browser
|
2013-11-26 20:14:30 +00:00
|
|
|
step "I am logged in"
|
2014-06-11 16:12:08 +00:00
|
|
|
step "I go to the browser specific edit page page"
|
2013-11-26 20:14:30 +00:00
|
|
|
step "I edit the page with Editing with"
|
2014-05-09 17:53:16 +00:00
|
|
|
$edit_user_page_login=true
|
2013-09-25 17:11:03 +00:00
|
|
|
end
|
2013-10-04 15:44:34 +00:00
|
|
|
end
|
2014-05-27 19:40:26 +00:00
|
|
|
|
|
|
|
Before("@language_screenshot") do |scenario|
|
|
|
|
@scenario = scenario
|
2014-06-26 14:06:50 +00:00
|
|
|
end
|