Bug ID: 61582
           Summary: Flow: browser test checks for post "1 second ago" but
                    the test can display "3 seconds ago"
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
       Web browser: ---
   Mobile Platform: ---

flow_anon's "Add new Flow topic" wait_until 20 seconds to check
    page.text.include? "1 second ago" or page.text.include? "just now"
But computers can be slow; failed because the
new topic showed "3 seconds ago".  Besides, the same test page can be
simultaneously hit by other browsers, so some topic appearing recently doesn't
test successful addition of this topic. 

The test should instead look for a topic titlebar (css: '.flow-topic-container
.flow-titlebar' ) with a h2 matching the random number it just inserted, and
within the titlebar it should accept '.flow-datestamp .flow-ago' containing
"seconds ago" as well as "1 second ago" or "just now".

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

Reply via email to