https://bugzilla.wikimedia.org/show_bug.cgi?id=72993
Bug ID: 72993
Summary: Flow: "Deleting a topic" browser test is confused by
Locked topic
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Flow
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
"Scenario: Deleting a topic" in features/moderation.feature occasionally fails
with
Then the top post should be marked as deleted #
features/step_definitions/moderation_steps.rb:41
expected "This topic was locked by Selenium user" to match "This topic
has been deleted" (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/moderation_steps.rb:42:in `/^the top post
should be marked as deleted$/'
features/moderation.feature:17:in `Then the top post should be marked as
deleted'
This happens if a Locked topic is in the top few topics on the Flow board.
The newly-created top topic (<- note the terminology "top post" is wrong!) does
show
"This topic has been deleted. Undo"
as expected, but the test is somehow picking up the moderation text of the
locked topic further down on the Flow board.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l