mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-11 22:06:07 +00:00
c0c90234d0
This moves all browser tests from MobileFrontend to the Minerva repo in preparation for separating the two. Note, this means browser tests will exist in both repositories for a period of time. This is important and necessary to ensure we do not break anything. See: https://lists.wikimedia.org/pipermail/mobile-l/2017-July/010536.html Bug: T168758 Change-Id: I84ae3ea14191f672cabcd52020e80b0a40a72ce1
51 lines
1.9 KiB
Gherkin
51 lines
1.9 KiB
Gherkin
@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
|