jenkins-bot has submitted this change and it was merged.

Change subject: [browser tests] add the double-logout fix to the other Before 
clause
......................................................................


[browser tests] add the double-logout fix to the other Before clause

Change-Id: I23e73d0c91b9d7f77fb8390fcae22ac00ce086e1
---
M modules/ve-mw/test/browser/features/support/hooks.rb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Cmcmahon: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ve-mw/test/browser/features/support/hooks.rb 
b/modules/ve-mw/test/browser/features/support/hooks.rb
index b7bf553..e9e83a9 100644
--- a/modules/ve-mw/test/browser/features/support/hooks.rb
+++ b/modules/ve-mw/test/browser/features/support/hooks.rb
@@ -14,7 +14,7 @@
 
 #This is for the bullets test and the indent-outdent test
 Before('@make_selectable_line') do
-  if !$make_selectable_line or !(ENV['REUSE_BROWSER'] == 'true')
+  if (!$make_selectable_line or !(ENV['REUSE_BROWSER'] == 'true')) and @browser
     step 'I am logged in'
     step 'I am at my user page'
     step 'I click Edit for VisualEditor'

-- 
To view, visit https://gerrit.wikimedia.org/r/92320
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I23e73d0c91b9d7f77fb8390fcae22ac00ce086e1
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: Zfilipin <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to