jenkins-bot has submitted this change and it was merged.
Change subject: name scenarios
......................................................................
name scenarios
Change-Id: Ia6aa02c2f218471f3d5323b4b15aabed45e9a9ad
---
M tests/acceptance/features/login_required_uploads.feature
M tests/acceptance/features/login_required_watchlist.feature
M tests/acceptance/features/step_definitions/login_required_uploads_steps.rb
M tests/acceptance/features/step_definitions/login_required_watchlist_steps.rb
4 files changed, 5 insertions(+), 5 deletions(-)
Approvals:
Cmcmahon: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/acceptance/features/login_required_uploads.feature
b/tests/acceptance/features/login_required_uploads.feature
index ee78a2d..647b4a2 100644
--- a/tests/acceptance/features/login_required_uploads.feature
+++ b/tests/acceptance/features/login_required_uploads.feature
@@ -1,7 +1,7 @@
@user_agent
Feature: Login required for Uploads
- Scenario:
+ Scenario: Login for uploads
Given that I am using Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr;
LG-L160L Build/IML74K) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0
Mobile Safari/534.30
When I select Uploads
Then I receive upload message You must be logged in to see your uploads.
diff --git a/tests/acceptance/features/login_required_watchlist.feature
b/tests/acceptance/features/login_required_watchlist.feature
index 714ddc4..07a445f 100644
--- a/tests/acceptance/features/login_required_watchlist.feature
+++ b/tests/acceptance/features/login_required_watchlist.feature
@@ -1,7 +1,7 @@
@user_agent
-Feature: Login required for Uploads
+Feature: Login required for Watchlist
- Scenario:
+ Scenario: Login for Uploads
Given that I am using Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr;
LG-L160L Build/IML74K) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0
Mobile Safari/534.30
When I select Watchlist
Then I receive watchlist message Please log in to view or edit items on
your watchlist.
diff --git
a/tests/acceptance/features/step_definitions/login_required_uploads_steps.rb
b/tests/acceptance/features/step_definitions/login_required_uploads_steps.rb
index 7d8a3a0..45de8bb 100644
--- a/tests/acceptance/features/step_definitions/login_required_uploads_steps.rb
+++ b/tests/acceptance/features/step_definitions/login_required_uploads_steps.rb
@@ -1,5 +1,5 @@
When /^I select Uploads$/ do
- on(HomePage).mainmenu_button_element.when_present.click
+ visit(HomePage).mainmenu_button_element.when_present.click
on(RandomPage).uploads_link_element.when_present.click
end
diff --git
a/tests/acceptance/features/step_definitions/login_required_watchlist_steps.rb
b/tests/acceptance/features/step_definitions/login_required_watchlist_steps.rb
index fc04443..6d95800 100644
---
a/tests/acceptance/features/step_definitions/login_required_watchlist_steps.rb
+++
b/tests/acceptance/features/step_definitions/login_required_watchlist_steps.rb
@@ -1,5 +1,5 @@
When /^I select Watchlist$/ do
- on(HomePage).mainmenu_button_element.when_present.click
+ visit(HomePage).mainmenu_button_element.when_present.click
on(RandomPage).watchlist_link_element.when_present.click
end
--
To view, visit https://gerrit.wikimedia.org/r/72644
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6aa02c2f218471f3d5323b4b15aabed45e9a9ad
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits