https://bugzilla.wikimedia.org/show_bug.cgi?id=72993

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |High
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
After the failure, the first
  div(:flow_first_topic_moderation_msg, css: "div.flow-topic-titlebar
div.flow-moderated-topic-title")

does contain "This topic has been deleted". So the test should work regardless
of what else is on the page.

My guess is this test needs to wait for the page to "settle down" before
calling first_topic_moderation_msg_element.when_present, which may immediately
find an existing "This topic was locked" lower down the page.  As a start the
test should wait for "AND the API action completes", e.g. when_not_present
class='.flow-api-inprogress' away or check that the cursor is no longer a wait
cursor.

I wonder if lots of tests need "AND the API action completes".

-- 
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

Reply via email to