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

Change subject: QA: More integration tests on each commit
......................................................................


QA: More integration tests on each commit

These tests require $wgMFEnableBeta = true to be set on
the instance.

Dependency: T89096
Bug: T107908
Change-Id: If8821b33e7cbf6d4a880e8a3b11d0a3f50bf6975
---
A tests/browser/LocalSettings.php
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
8 files changed, 9 insertions(+), 12 deletions(-)

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



diff --git a/tests/browser/LocalSettings.php b/tests/browser/LocalSettings.php
new file mode 100644
index 0000000..e9a0a71
--- /dev/null
+++ b/tests/browser/LocalSettings.php
@@ -0,0 +1 @@
+$wgMFEnableBeta = true;
diff --git a/tests/browser/features/add_to_collection.feature 
b/tests/browser/features/add_to_collection.feature
index 62c76e5..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:
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 30a62d1..f082e52 100644
--- a/tests/browser/features/menu.feature
+++ b/tests/browser/features/menu.feature
@@ -1,4 +1,4 @@
-@chrome @en.m.wikipedia.beta.wmflabs.org
+@chrome @en.m.wikipedia.beta.wmflabs.org @integration
 Feature: Menu
 
 Background:
diff --git a/tests/browser/features/new_collection.feature 
b/tests/browser/features/new_collection.feature
index 8e38286..a41c5e3 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: merged
Gerrit-Change-Id: If8821b33e7cbf6d4a880e8a3b11d0a3f50bf6975
Gerrit-PatchSet: 8
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Dduvall <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Phuedx <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to