Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/231468
Change subject: QA: More integration tests on each commit
......................................................................
QA: More integration tests on each commit
Bug: T107908
Change-Id: If8821b33e7cbf6d4a880e8a3b11d0a3f50bf6975
---
M tests/browser/features/add_to_collection.feature
M tests/browser/features/add_to_collection_newbie.feature
M tests/browser/features/anonymous.feature
M tests/browser/features/edit_collection.feature
M tests/browser/features/menu.feature
M tests/browser/features/new_collection.feature
M tests/browser/features/recent_collections.feature
7 files changed, 8 insertions(+), 15 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather
refs/changes/68/231468/1
diff --git a/tests/browser/features/add_to_collection.feature
b/tests/browser/features/add_to_collection.feature
index 923f5bf..0341a5b 100644
--- a/tests/browser/features/add_to_collection.feature
+++ b/tests/browser/features/add_to_collection.feature
@@ -1,4 +1,4 @@
-@chrome @en.m.wikipedia.beta.wmflabs.org
+@chrome @en.m.wikipedia.beta.wmflabs.org @integration
Feature: Add to a collection
Background:
@@ -11,7 +11,6 @@
When I click the watchstar
Then I see the collection dialog
- @integration
Scenario: Adding item to existing collection.
Given I have a collection
And I am on the "Selenium Gather test" page
diff --git a/tests/browser/features/add_to_collection_newbie.feature
b/tests/browser/features/add_to_collection_newbie.feature
index 47deb3f..04ed5e7 100644
--- a/tests/browser/features/add_to_collection_newbie.feature
+++ b/tests/browser/features/add_to_collection_newbie.feature
@@ -1,4 +1,4 @@
-@chrome @en.m.wikipedia.beta.wmflabs.org
+@chrome @en.m.wikipedia.beta.wmflabs.org @integration
Feature: Add to a collection for the first time
Background:
diff --git a/tests/browser/features/anonymous.feature
b/tests/browser/features/anonymous.feature
index d830793..b385072 100644
--- a/tests/browser/features/anonymous.feature
+++ b/tests/browser/features/anonymous.feature
@@ -1,4 +1,4 @@
-@chrome @en.m.wikipedia.beta.wmflabs.org
+@chrome @en.m.wikipedia.beta.wmflabs.org @integration
Feature: Anonymous users
Background:
@@ -6,18 +6,15 @@
And I am using the mobile site
And there are public collections
- @integration
Scenario: Gather shows public view
When I visit the Gather page
Then I see the recent collections page
- @integration
Scenario: Clicking tab shows login page
When I visit the Gather page
And I click the my collections tab
Then I see the login page
- @integration
Scenario: Anons not allowed to view private collections
When I visit a private collection page
Then I see the error page
@@ -28,7 +25,6 @@
When I click the watchstar
Then I see the anonymous CTA
- @integration
Scenario: Anons can see my public collection
When I visit a public collection
Then I can see items in the collection
diff --git a/tests/browser/features/edit_collection.feature
b/tests/browser/features/edit_collection.feature
index 6abac65..7c115a4 100644
--- a/tests/browser/features/edit_collection.feature
+++ b/tests/browser/features/edit_collection.feature
@@ -1,4 +1,4 @@
-@chrome @en.m.wikipedia.beta.wmflabs.org
+@chrome @en.m.wikipedia.beta.wmflabs.org @integration
Feature: Editing collections
Background:
diff --git a/tests/browser/features/menu.feature
b/tests/browser/features/menu.feature
index bf80b18..f082e52 100644
--- a/tests/browser/features/menu.feature
+++ b/tests/browser/features/menu.feature
@@ -1,17 +1,15 @@
-@chrome @en.m.wikipedia.beta.wmflabs.org
+@chrome @en.m.wikipedia.beta.wmflabs.org @integration
Feature: Menu
Background:
Given I am using the mobile site
-@integration
Scenario: Check links in menu
And I have Gather
And I am on the "Main Page" page
When I click on the main navigation button
Then I should see a link to "Collections" in the main navigation menu
-@integration
Scenario: Check links in special page menu
And I have Gather
And I am on the "Special:MobileOptions" page
diff --git a/tests/browser/features/new_collection.feature
b/tests/browser/features/new_collection.feature
index 99d6b4b..28cae6d 100644
--- a/tests/browser/features/new_collection.feature
+++ b/tests/browser/features/new_collection.feature
@@ -1,4 +1,4 @@
-@chrome @en.m.wikipedia.beta.wmflabs.org
+@chrome @en.m.wikipedia.beta.wmflabs.org @integration
Feature: Creating new collections
Background:
diff --git a/tests/browser/features/recent_collections.feature
b/tests/browser/features/recent_collections.feature
index f3678bd..89feeb9 100644
--- a/tests/browser/features/recent_collections.feature
+++ b/tests/browser/features/recent_collections.feature
@@ -1,11 +1,11 @@
-@chrome @en.m.wikipedia.beta.wmflabs.org
+@chrome @en.m.wikipedia.beta.wmflabs.org @integration
Feature: Viewing recent changes
Background:
Given I am using the mobile site
And there are more than 100 collections
- @smoke @integration
+ @smoke
Scenario: Infinite scrolling is working for anonymous users
Given I am on the "Special:Gather/all/recent" page
And I see 100 collections
--
To view, visit https://gerrit.wikimedia.org/r/231468
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If8821b33e7cbf6d4a880e8a3b11d0a3f50bf6975
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits