Web browser: ---
            Bug ID: 61247
           Summary: Flow: browser tests Action menu problem
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
    Classification: Unclassified
   Mobile Platform: ---

Browser tests are sometimes failing waiting for actions to appear, e.g. failed with

  Create new topic logged in "timed out after 5 seconds, waiting for
{:css=>"div.tipsy-inner input.flow-hide-topic-link"} to become present

and locally tests failed with
   Then I should see a Hide button    #
   timed out after 5 seconds, waiting for {:css=>"div.tipsy-inner
input.flow-hide-post-link"} to become present (Watir::Wait::TimeoutError)
   features/flow_logged_in.feature:30:in `Then I should see a Hide button'

In both cases an action menu appears but it's the wrong one.

The prior step is "When I click the Topic Actions link" or "And I click
Actions", and in flow_pager.rb, the topic_actions_link and actions_link page
elements are both just text: "Actions". So the browser might click the wrong
actions item; it's complicated by the topic_index/action_index variable that
points Firefox and Chrome at different topics and posts.

I think the topic_actions_link and actions_link page elements need to target
the right actions button, e.g. with
  css ".flow-topic-title" text "Actions"
  css ".flow-post-container" text "Actions"

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