"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.
Version: master
Severity: normal