Jdlrobson has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/364325 )
Change subject: Remove browser tests of features that now belong to Minerva ...................................................................... Remove browser tests of features that now belong to Minerva Change-Id: I5e83d9e75f3c01fc984f221ae5f4fb7394b4a127 Depends-On: Iff1f7e63e796cc5d4a6d2ab0370e0c33248d2fce Bug: T168758 --- D tests/browser/features/category.feature D tests/browser/features/diff.feature D tests/browser/features/editor_wikitext_nosave.feature D tests/browser/features/editor_wikitext_saving.feature D tests/browser/features/issues.feature D tests/browser/features/language.feature D tests/browser/features/mainmenu.feature D tests/browser/features/mainmenu_loggedin.feature D tests/browser/features/no_javascript_site.feature D tests/browser/features/notification.feature D tests/browser/features/pageactions.feature D tests/browser/features/pageactions_protected.feature D tests/browser/features/references.feature D tests/browser/features/search.feature D tests/browser/features/search_loggedin.feature D tests/browser/features/search_tablet.feature D tests/browser/features/signup_edit_tutorial.feature D tests/browser/features/special.feature D tests/browser/features/talk.feature D tests/browser/features/toc.feature D tests/browser/features/toggling.feature D tests/browser/features/toggling_tablet.feature D tests/browser/features/ui.feature D tests/browser/features/user_page.feature D tests/browser/features/watchstar.feature D tests/browser/features/wikidata_descriptions.feature 26 files changed, 0 insertions(+), 632 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/25/364325/1 diff --git a/tests/browser/features/category.feature b/tests/browser/features/category.feature deleted file mode 100644 index 090ab6d..0000000 --- a/tests/browser/features/category.feature +++ /dev/null @@ -1,11 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @login -Feature: Categories - - Scenario: I can view categories - Given I am in a wiki that has categories - And I am using the mobile site - And I am in beta mode - And I am on the "Selenium categories test page" page - When I click on the category button - Then I should see the categories overlay - And I should see a list of categories diff --git a/tests/browser/features/diff.feature b/tests/browser/features/diff.feature deleted file mode 100644 index 98f7d3d..0000000 --- a/tests/browser/features/diff.feature +++ /dev/null @@ -1,14 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @login -Feature: Page diff - - @smoke @editing @integration - Scenario: Added and removed content - Given I am logged into the mobile website - And I am on a page that has the following edits: - | text | - | ABC DEF | - | ABC GHI | - And I click on the history link in the last modified bar - And I open the latest diff - Then I should see "GHI" as added content - And I should see "DEF" as removed content diff --git a/tests/browser/features/editor_wikitext_nosave.feature b/tests/browser/features/editor_wikitext_nosave.feature deleted file mode 100644 index eba39de..0000000 --- a/tests/browser/features/editor_wikitext_nosave.feature +++ /dev/null @@ -1,17 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @login -Feature: Wikitext Editor - - Background: - Given I am logged into the mobile website - And I am on a page that does not exist - And I click the edit button - And I see the wikitext editor overlay - - @smoke @integration - Scenario: Closing editor (overlay button) - When I click the wikitext editor overlay close button - Then I should not see the wikitext editor overlay - - Scenario: Closing editor (browser button) - When I click the browser back button - Then I should not see the wikitext editor overlay diff --git a/tests/browser/features/editor_wikitext_saving.feature b/tests/browser/features/editor_wikitext_saving.feature deleted file mode 100644 index 57e9216..0000000 --- a/tests/browser/features/editor_wikitext_saving.feature +++ /dev/null @@ -1,51 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @login -Feature: Wikitext Editor (Makes actual saves) - - Background: - Given I am logged into the mobile website - - @smoke @editing @integration - Scenario: Successful edit on page without languages shows no language button [bug 63675] - Given the page "Selenium no languages test page" exists - When I click the edit button - And I see the wikitext editor overlay - And I type "ABC GHI" into the editor - And I click continue - And I click submit - Then I should see a toast notification - And the text of the first heading should be "Selenium no languages test page" - - @editing - Scenario: Successful edit reloads language button - Given I go to a page that has languages - When I click the edit button - And I see the wikitext editor overlay - And I type "ABC GHI" into the editor - And I click continue - And I click submit - Then I should see a toast notification - - @editing - Scenario: Redirects - Given the page "Selenium wikitext editor test" exists - And I am on a page that does not exist - When I click the edit button - And I clear the editor - And I type "#REDIRECT [[Selenium wikitext editor test]]" into the editor - And I click continue - And I click submit - And I say OK in the confirm dialog - And I do not see the wikitext editor overlay - Then the text of the first heading should be "Selenium wikitext editor test" - - @editing - Scenario: Broken redirects - Given I am on a page that does not exist - When I click the edit button - And I clear the editor - And I type "#REDIRECT [[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA]]" into the editor - And I click continue - And I click submit - And I say OK in the confirm dialog - And I do not see the wikitext editor overlay - Then there should be a red link with text "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" diff --git a/tests/browser/features/issues.feature b/tests/browser/features/issues.feature deleted file mode 100644 index 8a8504d..0000000 --- a/tests/browser/features/issues.feature +++ /dev/null @@ -1,23 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant -Feature: Issues - - Background: - Given I am using the mobile site - And I am on a page which has cleanup templates - And this page has issues - - Scenario: Clicking page issues opens overlay - When I click the page issues stamp - Then I should see the issues overlay - - Scenario: Closing page issues - When I click the page issues stamp - And I see the issues overlay - And I click the overlay issue close button - Then I should not see the issues overlay - - Scenario: Closing page issues (browser back) - When I click the page issues stamp - And I see the issues overlay - And I click the browser back button - Then I should not see the issues overlay diff --git a/tests/browser/features/language.feature b/tests/browser/features/language.feature deleted file mode 100644 index 454d96a..0000000 --- a/tests/browser/features/language.feature +++ /dev/null @@ -1,60 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org -Feature: Language selection - - Background: - Given I am using the mobile site - - @smoke @integration - Scenario: Language button - Given I go to a page that has languages - Then I should see the switch-language page action - - @smoke @integration - Scenario: Language button (on a page that doesn't have languages) - Given I go to a page that does not have languages - Then I should see the disabled switch-language page action - - Scenario: Tapping icon opens language overlay - Given I go to a page that has languages - When I click the switch-language page action - Then I should see the language overlay - - Scenario: Tapping icon does not open language overlay (on a page that doesn't have languages) - Given I go to a page that does not have languages - When I click the switch-language page action - Then I should not see the languages overlay - - Scenario: Tapping the disabled icon shows a toast - Given I go to a page that does not have languages - When I click the switch-language page action - Then I should see a toast with message about page not being available in other languages - - Scenario: Closing language overlay (overlay button) - Given I go to a page that has languages - When I click the switch-language page action - And I see the language overlay - And I click the language overlay close button - Then I should not see the languages overlay - - Scenario: Closing language overlay (browser button) - Given I go to a page that has languages - When I click the switch-language page action - And I see the language overlay - And I click the browser back button - Then I should not see the languages overlay - - Scenario: Checking that there are no suggested language links - Given I go to a page that has languages - When I click the switch-language page action - And I see the language overlay - Then I should not see a suggested language link - Then I should see a non-suggested language link - - @smoke - Scenario: Checking that the suggested language link has been created - Given I go to a page that has languages - And I click the switch-language page action - And I click on a language from the list of all languages - And I click the browser back button - And I see the language overlay - Then I should see a suggested language link diff --git a/tests/browser/features/mainmenu.feature b/tests/browser/features/mainmenu.feature deleted file mode 100644 index 407c659..0000000 --- a/tests/browser/features/mainmenu.feature +++ /dev/null @@ -1,22 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant -Feature: Menus open correct page for anonymous users - - Background: - Given I am using the mobile site - And I am on the "Main Page" page - - @smoke @integration - Scenario: Check links in menu - When I click on the main navigation button - Then I should see a link to the disclaimer - And I should see a link to the about page - And I should see a link to "Home" in the main navigation menu - And I should see a link to "Random" in the main navigation menu - And I should see a link to "Settings" in the main navigation menu - And I should see a link to "Log in" in the main navigation menu - - @extension-geodata - Scenario: Nearby link in menu - Given at least one article with geodata exists - When I click on the main navigation button - Then I should see a link to "Nearby" in the main navigation menu diff --git a/tests/browser/features/mainmenu_loggedin.feature b/tests/browser/features/mainmenu_loggedin.feature deleted file mode 100644 index c830fcd..0000000 --- a/tests/browser/features/mainmenu_loggedin.feature +++ /dev/null @@ -1,25 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @login -Feature: Menus open correct page for anonymous users - - Background: - Given I am logged into the mobile website - And I am on the "Main Page" page - - @integration - Scenario: Check links in menu - When I click on the main navigation button - Then I should see a link to the disclaimer - And I should see a link to "Log out" in the main navigation menu - And I should see a link to my user page in the main navigation menu - And I should see a link to the about page - And I should see a link to "Home" in the main navigation menu - And I should see a link to "Random" in the main navigation menu - And I should see a link to "Settings" in the main navigation menu - And I should see a link to "Contributions" in the main navigation menu - And I should see a link to "Watchlist" in the main navigation menu - - @extension-geodata - Scenario: Nearby link in menu - Given at least one article with geodata exists - When I click on the main navigation button - Then I should see a link to "Nearby" in the main navigation menu diff --git a/tests/browser/features/no_javascript_site.feature b/tests/browser/features/no_javascript_site.feature deleted file mode 100644 index 2054b99..0000000 --- a/tests/browser/features/no_javascript_site.feature +++ /dev/null @@ -1,36 +0,0 @@ -@custom-browser @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org -Feature: Basic site for legacy devices - - Background: - Given my browser doesn't support JavaScript - And I am using the mobile site - And I am on the "Main Page" page - - # FIXME: Add scenario to check search actually works - Scenario: Able to search in basic non-JavaScript site - When I click on "Random" in the main navigation menu - Then I should see the search button - # FIXME: Check that the edit button is invisible - - @smoke - Scenario: Able to access left navigation in basic non-JavaScript site - When I click on "Random" in the main navigation menu - And I click on the main navigation button - Then I should see a link to "Home" in the main navigation menu - And I should see a link to "Random" in the main navigation menu - And I should see a link to "Settings" in the main navigation menu - And I should not see a link to "Watchlist" in the main navigation menu - And I should see a link to "Log in" in the main navigation menu - - @extension-geodata - Scenario: Nearby link not present in main navigation menu - When I click on "Random" in the main navigation menu - And I click on the main navigation button - Then I should not see a link to "Nearby" in the main navigation menu - - @smoke @integration @skip - Scenario: Search with JavaScript disabled - Given the page "Selenium search test" exists - When I type into search box "Test is used by Selenium web driver" - And I click the search button - Then I should see a list of search results diff --git a/tests/browser/features/notification.feature b/tests/browser/features/notification.feature deleted file mode 100644 index 0425f49..0000000 --- a/tests/browser/features/notification.feature +++ /dev/null @@ -1,20 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @extension-echo @firefox @test2.m.wikipedia.org @vagrant @login -Feature: Notification - - Background: - Given I am logged into the mobile website - And I have no notifications - When I click on the notification icon - And the notifications overlay appears - - @smoke @integration - Scenario: Opening notifications - Then I should see the notifications overlay - - Scenario: Closing notifications (overlay button) - When I click the notifications overlay close button - Then after 1 seconds I should not see the notifications overlay - - Scenario: Closing notifications (browser button) - When I click the browser back button - Then after 1 seconds I should not see the notifications overlay diff --git a/tests/browser/features/pageactions.feature b/tests/browser/features/pageactions.feature deleted file mode 100644 index 3c43807..0000000 --- a/tests/browser/features/pageactions.feature +++ /dev/null @@ -1,15 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant -Feature: Page actions menu when anonymous - - Background: - Given I am using the mobile site - And I am on the "Albert Einstein" page - - @feature-anon-editing-support - Scenario: Receive notification message - Edit Icon - When I click the edit button - Then I see the anonymous editor warning - - Scenario: Receive notification message - Watchlist Icon - When I click the watch star - Then I should see a drawer with message "Keep track of this page and all changes to it." diff --git a/tests/browser/features/pageactions_protected.feature b/tests/browser/features/pageactions_protected.feature deleted file mode 100644 index ac46d02..0000000 --- a/tests/browser/features/pageactions_protected.feature +++ /dev/null @@ -1,10 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @adminuser -Feature: Page actions menu when anonymous - - Background: - Given I am using the mobile site - And I visit a protected page - - Scenario: I cannot edit a protected page when anonymous - When I click the edit icon holder - Then I should see a toast notification diff --git a/tests/browser/features/references.feature b/tests/browser/features/references.feature deleted file mode 100644 index 2273ddc..0000000 --- a/tests/browser/features/references.feature +++ /dev/null @@ -1,22 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @extension-cite -Feature: Reference popup drawer - - Background: - Given I am using the mobile site - - Scenario: Opening the reference drawer - Given I go to a page that has references - When I click on a reference - Then I should see the reference drawer - - Scenario: Closing the reference drawer - Given I go to a page that has references - When I click on a reference - And I click on the page - Then I should not see the reference drawer - - Scenario: Opening a nested reference - Given I go to a page that has references - When I click on a reference - And I click on a nested reference - Then I should see a drawer with message "This is a nested ref." diff --git a/tests/browser/features/search.feature b/tests/browser/features/search.feature deleted file mode 100644 index 1f0a69c..0000000 --- a/tests/browser/features/search.feature +++ /dev/null @@ -1,50 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @integration @test2.m.wikipedia.org @vagrant -Feature: Search - - Background: - Given I am using the mobile site - And I am in beta mode - And the page "Selenium search test" exists - And I am on the "Main Page" page - And I am viewing the site in mobile mode - And I click the search icon - And I see the search overlay - - Scenario: Closing search (overlay button) - When I click the search overlay close button - Then I should not see the search overlay - - Scenario: Closing search (browser button) - When I click the browser back button - Then I should not see the search overlay - - @smoke @integration - Scenario: Search for partial text - When I type into search box "Selenium search tes" - Then search results should contain "Selenium search test" - - Scenario: Search with search in pages button - When I type into search box "Test is used by Selenium web driver" - And I see the search in pages button - And I click the search in pages button - Then I should see a list of search results - - Scenario: Search with enter key - When I type into search box "Test is used by Selenium web driver" - And I press the enter key - Then I should see a list of search results - - Scenario: Going back to the previous page - When I type into search box "Selenium search tes" - When I click a search result - When I click the browser back button - Then I should not see '#/search' in URL - - @integration - Scenario: Search doesn't break after one search result - When I type into search box "Selenium search tes" - And I click a search result - And the text of the first heading should be "Selenium search test" - And I click the search icon - And I type into search box "Main Page" - Then search results should contain "Main Page" diff --git a/tests/browser/features/search_loggedin.feature b/tests/browser/features/search_loggedin.feature deleted file mode 100644 index 52cc5e9..0000000 --- a/tests/browser/features/search_loggedin.feature +++ /dev/null @@ -1,15 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @integration @test2.m.wikipedia.org @vagrant @login -Feature: Search - - Scenario: Clicking on a watchstar toggles the watchstar - Given I am using the mobile site - And I am in beta mode - And the page "Selenium search test" exists - And I am logged into the mobile website - And I am on the "Main Page" page - And I am viewing the site in mobile mode - And I click the search icon - And I see the search overlay - And I type into search box "Selenium search tes" - When I click a search watch star - Then I should see a toast diff --git a/tests/browser/features/search_tablet.feature b/tests/browser/features/search_tablet.feature deleted file mode 100644 index ff14d4b..0000000 --- a/tests/browser/features/search_tablet.feature +++ /dev/null @@ -1,10 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @integration @test2.m.wikipedia.org @vagrant -Feature: Search - - Scenario: Clicking search input in tablet mode - Given I am using the mobile site - And the page "Selenium search test" exists - And I am on the "Main Page" page - And I am viewing the site in tablet mode - When I click the search input field - Then I see the search overlay diff --git a/tests/browser/features/signup_edit_tutorial.feature b/tests/browser/features/signup_edit_tutorial.feature deleted file mode 100644 index 696c0ae..0000000 --- a/tests/browser/features/signup_edit_tutorial.feature +++ /dev/null @@ -1,10 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @vagrant @login -Feature: Signup edit tutorial - - Background: - Given I have just signed up after trying to edit as anonymous - - Scenario: Signup edit tutorial shows up correctly and hides when main menu is opened - Then I should see the signup edit tutorial - When I click on the main navigation button - Then I should not see the signup edit tutorial diff --git a/tests/browser/features/special.feature b/tests/browser/features/special.feature deleted file mode 100644 index 429b669..0000000 --- a/tests/browser/features/special.feature +++ /dev/null @@ -1,27 +0,0 @@ -@chrome @firefox @test2.m.wikipedia.org @vagrant @integration -Feature: Generic special page features - - Background: - Given I am using the mobile site - And I am in beta mode - And I am viewing the site in mobile mode - And I am on the "Main Page" page - - @login - Scenario: Search from Watchlist - Given I am logged into the mobile website - When I click on "Watchlist" in the main navigation menu - And I click the search icon - Then I should see the search overlay - - @en.m.wikipedia.beta.wmflabs.org @extension-geodata - Scenario: Search from Nearby - When I click on "Nearby" in the main navigation menu - And I click the search icon - Then I should see the search overlay - - @en.m.wikipedia.beta.wmflabs.org - Scenario: Search from Login - When I click on "Log in" in the main navigation menu - And I click the search icon - Then I should see the search overlay diff --git a/tests/browser/features/talk.feature b/tests/browser/features/talk.feature deleted file mode 100644 index 07f0315..0000000 --- a/tests/browser/features/talk.feature +++ /dev/null @@ -1,50 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant -Feature: Talk - - Background: - Given I am using the mobile site - - @smoke @integration @login - Scenario: Talk doesn't show on talk pages - Given the page "Talk:Selenium talk test" exists - And I am logged in as a user with a > 5 edit count - And I am on the "Talk:Selenium talk test" page - Then there should be no talk button - - @login - Scenario: Talk on a page that does exist - Given the page "Talk:Selenium talk test" exists - And I am logged in as a user with a > 5 edit count - And the page "Selenium talk test" exists - When I click the talk button - Then I should see the talk overlay - - @login - Scenario: Talk on a page that doesn't exist (bug 64268) - Given I am logged in as a user with a > 5 edit count - And I am on a page that does not exist - When I click the talk button - Then I should see the talk overlay - - @smoke @integration @login - Scenario: Add discussion on talk page possible as logged in user - Given the page "Talk:Selenium talk test" exists - And I am logged in as a user with a > 5 edit count - And the page "Selenium talk test" exists - When I click the talk button - Then there should be an add discussion button - - @integration - Scenario: A newly created topic appears in the list of topics immediately - Given the page "Talk:Selenium talk test" exists - And I am logged in as a user with a > 5 edit count - And the page "Selenium talk test" exists - When I click the talk button - And no topic is present - And I add a topic called "New topic" - Then I should see the topic called "New topic" in the list of topics - - Scenario: Add discussion on talk page not possible as logged out user - Given the page "Talk:Selenium talk test" exists - And the page "Selenium talk test" exists - Then there should be no talk button diff --git a/tests/browser/features/toc.feature b/tests/browser/features/toc.feature deleted file mode 100644 index 34706de..0000000 --- a/tests/browser/features/toc.feature +++ /dev/null @@ -1,17 +0,0 @@ -@en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant -Feature: Table of contents - - Background: - Given I am using the mobile site - #And in Firefox see bug T88288 - - @smoke @integration - Scenario: Don't show table of contents on mobile - Given I am viewing the site in mobile mode - When I go to a page that has sections - Then I should not see the table of contents - - Scenario: Show table of contents on tablet - Given I am viewing the site in tablet mode - When I go to a page that has sections - Then I should see the table of contents diff --git a/tests/browser/features/toggling.feature b/tests/browser/features/toggling.feature deleted file mode 100644 index 0ffc2a3..0000000 --- a/tests/browser/features/toggling.feature +++ /dev/null @@ -1,22 +0,0 @@ -@en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant -Feature: Toggling sections - - Background: - Given I am using the mobile site - And I am viewing the site in mobile mode - - Scenario: Respect the hash on sections - When I visit the page "Selenium section test page" with hash "#Section_2A" - Then the heading element with id "Section_2A" should be visible - - @smoke @integration - Scenario: Opening a section on mobile - Given I go to a page that has sections - When I click on the first collapsible section heading - Then I should see the content of the first section - - Scenario: Closing a section on mobile - Given I go to a page that has sections - And I click on the first collapsible section heading - When I click on the first collapsible section heading - Then I should not see the content of the first section diff --git a/tests/browser/features/toggling_tablet.feature b/tests/browser/features/toggling_tablet.feature deleted file mode 100644 index d5a8d1a..0000000 --- a/tests/browser/features/toggling_tablet.feature +++ /dev/null @@ -1,11 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @vagrant -Feature: Toggling sections - - Background: - Given I am using the mobile site - - Scenario: Section open by default on tablet - Given I am viewing the site in tablet mode - And I go to a page that has sections - When I click on the first collapsible section heading - Then I should not see the content of the first section diff --git a/tests/browser/features/ui.feature b/tests/browser/features/ui.feature deleted file mode 100644 index 00899dd..0000000 --- a/tests/browser/features/ui.feature +++ /dev/null @@ -1,38 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox -Feature: Check UI components - - Background: - Given I am using the mobile site - - @smoke @integration - Scenario: Check existence of important UI components on the main page - Given I am on the "Main Page" page - Then I should see the history link - - @smoke @integration - Scenario: Check existence of important UI components on other pages. - Given the page "Selenium UI test" exists - And I am on the "Selenium UI test" page - Then I should see the link to the user page of the last editor - And I should see the last modified bar history link - And I should see the switch to desktop link - And I should see the license link - And I should see a link to the privacy page - - @smoke @integration @adminuser - Scenario: Check existence of important UI components on other pages. - Given the wiki has a terms of use - And the page "Selenium UI test" exists - And I am on the "Selenium UI test" page - Then I should see a link to the terms of use - - @smoke @integration - Scenario: Check that the beta mode indicator is hidden in stable. - Given I am on the "Main Page" page - Then I should not see the beta mode indicator - - @smoke @integration - Scenario: Check that the beta mode indicator is visible in beta. - Given I am on the "Main Page" page - And I am in beta mode - Then I should see the beta mode indicator diff --git a/tests/browser/features/user_page.feature b/tests/browser/features/user_page.feature deleted file mode 100644 index 72aca17..0000000 --- a/tests/browser/features/user_page.feature +++ /dev/null @@ -1,18 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @login @test2.m.wikipedia.org @vagrant @integration @login -Feature: User:<username> - - Background: - Given I am logged into the mobile website - And I visit my user page - - Scenario: Check components in user page - Then I should be on my user page - And there should be a link to my talk page - And there should be a link to my contributions - And there should be a link to my uploads - - Scenario: Check user page is editable - And I should be on my user page - And there should be a link to create my user page - When I click the create my user page link - Then I see the wikitext editor overlay diff --git a/tests/browser/features/watchstar.feature b/tests/browser/features/watchstar.feature deleted file mode 100644 index e756399..0000000 --- a/tests/browser/features/watchstar.feature +++ /dev/null @@ -1,17 +0,0 @@ -@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @integration @smoke @test2.m.wikipedia.org @login @vagrant -Feature: Manage Watchlist - - Background: - Given I am logged into the mobile website - - Scenario: Add an article to the watchlist - Given I am viewing an unwatched page - When I click the watch star - Then I should see a toast with message about watching the page - And the watch star should be selected - - Scenario: Remove an article from the watchlist - Given I am viewing a watched page - When I click the unwatch star - Then I should see a toast with message about unwatching the page - And the watch star should not be selected diff --git a/tests/browser/features/wikidata_descriptions.feature b/tests/browser/features/wikidata_descriptions.feature deleted file mode 100644 index fdbc552..0000000 --- a/tests/browser/features/wikidata_descriptions.feature +++ /dev/null @@ -1,21 +0,0 @@ -@chrome @firefox @en.m.wikipedia.beta.wmflabs.org @vagrant -Feature: Wikidata descriptions - - Background: - Given I am using the mobile site - And I am on the "Main Page" page - - Scenario: Description does not appear on Main Page - Then I should not see a wikidata description - - Scenario: Description appears on main namespace - When I am on the "Albert Einstein" page - Then I should see a wikidata description - - Scenario: Description does not appear on non-main namespaces - Given I am on the "Talk:Contributions" page - Then I should not see a wikidata description - - Scenario: Description does not appear on special pages - Given I am on the "Special:Contributions" page - Then I should not see a wikidata description -- To view, visit https://gerrit.wikimedia.org/r/364325 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5e83d9e75f3c01fc984f221ae5f4fb7394b4a127 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits