jenkins-bot has submitted this change and it was merged.
Change subject: QA: topics that are hidden no longer appear in normal view
......................................................................
QA: topics that are hidden no longer appear in normal view
this is Bug 71558
Change-Id: I8b17f3474cbccdf75fa1038417631d1f5b851ec8
---
M tests/browser/features/collapse.feature
1 file changed, 5 insertions(+), 25 deletions(-)
Approvals:
Spage: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/browser/features/collapse.feature
b/tests/browser/features/collapse.feature
index f0a378b..228e663 100644
--- a/tests/browser/features/collapse.feature
+++ b/tests/browser/features/collapse.feature
@@ -66,41 +66,21 @@
Scenario: For a moderated post, a mode cycle with no user override keeps it
hidden
Given I am on Flow page
- Then I should see a moderated message on the first moderated topic
+ Then I should not see a moderated message on the first moderated topic
And I should not see the title of the first moderated topic
And I should not see the comments of the first moderated topic
When I switch from Topics and posts view to Topics only view
- Then I should see a moderated message on the first moderated topic
- And I should not see the title of the first moderated topic
- And I should not see the comments of the first moderated topic
+ Then I should not see a moderated message on the first moderated topic
When I switch from Topics only view to Small topics view
- Then I should see a moderated message on the first moderated topic
- And I should not see the title of the first moderated topic
- And I should not see the comments of the first moderated topic
+ Then I should not see a moderated message on the first moderated topic
When I switch from Small topics view to Topics and posts view
- Then I should see a moderated message on the first moderated topic
- And I should not see the title of the first moderated topic
- And I should not see the comments of the first moderated topic
+ Then I should not see a moderated message on the first moderated topic
- Scenario: For a moderated post, switching modes does not forget a user-set
close override
- Given I am on Flow page
- # First, erase the server-set close override
- When I click the first moderated topic
- Then I should see the title of the first moderated topic
- And I should see the comments of the first moderated topic
-
- # Now, put a user-set close override
- When I click the first moderated topic
- Then I should see a moderated message on the first moderated topic
- And I should not see the title of the first moderated topic
- And I should not see the comments of the first moderated topic
# Complete mode cycle
When I switch from Topics and posts view to Topics only view
And I switch from Topics only view to Topics and posts view
- Then I should see a moderated message on the first moderated topic
- And I should not see the title of the first moderated topic
- And I should not see the comments of the first moderated topic
+ Then I should not see a moderated message on the first moderated topic
--
To view, visit https://gerrit.wikimedia.org/r/164422
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8b17f3474cbccdf75fa1038417631d1f5b851ec8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: SG <[email protected]>
Gerrit-Reviewer: Spage <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits