https://bugzilla.wikimedia.org/show_bug.cgi?id=61247
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
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Browser tests are sometimes failing waiting for actions to appear, e.g.
https://saucelabs.com/jobs/4af26fb0dae64f68afbb6e50aa5c2254 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
(Watir::Wait::TimeoutError)",
and locally tests failed with
Then I should see a Hide button #
features/step_definitions/flow_steps.rb:104
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"
and
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l