Behat step fails: Then I should see "Robert Cohn"

Bug #1953278 reported by Gold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Triaged
Medium
Unassigned

Bug Description

The following test reliably fails:

./mahara_behat.sh rundebug user_content/edit_page.feature

The error:

    Then I should see "Robert Cohn"
      The text "Robert Cohn" was not found anywhere in the text of the current page.

Inserting "And I insert breakpoint" let me look at the page. The text is present, just not in the viewport. Adding the following just prior to the test resolved it for me.

And I scroll to the base of id "column-container"

Revision history for this message
Gold (gold.catalyst) wrote :

Further testing has shown that the id mentioned isn't reliable either.

I also tried 'powered-by' which is an id in the footer. No joy there either.

The specific step of "And I scroll to the id 'bottom-pane'" also didn't work.

There is not step for "And I scroll to the bottom". The addition of this may resolve this.

Changed in mahara:
status: New → Triaged
tags: added: behat-dev
Changed in mahara:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.