behat test page_number_interval_sharedwithme.feature is flaky

Bug #1693652 reported by Rebecca Blundell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Rebecca Blundell
17.04
Fix Released
Medium
Unassigned
17.10
Fix Released
Medium
Rebecca Blundell

Bug Description

I've noticed that this test often fails on the step And I click the panel "A's Page 01".
After watching the test run a few times, I see why:
22 pages are created, and when Portfolio is chosen from the menu, 10 of these show up on the page, but they are in no particular order. So when the Portfolio page is shown, there is a ~45% chance of the test passing. I'll fix it. :)

Tags: behat
Changed in mahara:
status: New → In Progress
assignee: nobody → Rebecca Blundell (rjb-dev)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/7789

Changed in mahara:
importance: Undecided → Medium
milestone: none → 17.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7789
Committed: https://git.mahara.org/mahara/mahara/commit/09affeaba6f940a810a46f9c0d0dd9cb7d88dfe9
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 09affeaba6f940a810a46f9c0d0dd9cb7d88dfe9
Author: Rebecca Blundell <email address hidden>
Date: Fri May 26 14:00:20 2017 +1200

Bug #1693652 - fix flaky test caused by random ordering of pages

Added steps to sort the order of the pages before clicking on
"A's Page 01" to be sure that the page is visible and therefore
clickable.

Change-Id: I3cb4c3003320510bc13a3f20183545e72b1789f5

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "17.04_STABLE" branch: https://reviews.mahara.org/7797

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7797
Committed: https://git.mahara.org/mahara/mahara/commit/9ca4b71c77b7bdf47e713aa4edf79bb120b82ddd
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.04_STABLE

commit 9ca4b71c77b7bdf47e713aa4edf79bb120b82ddd
Author: Rebecca Blundell <email address hidden>
Date: Fri May 26 14:00:20 2017 +1200

Bug #1693652 - fix flaky test caused by random ordering of pages

Added steps to sort the order of the pages before clicking on
"A's Page 01" to be sure that the page is visible and therefore
clickable.

Change-Id: I3cb4c3003320510bc13a3f20183545e72b1789f5
(cherry picked from commit 09affeaba6f940a810a46f9c0d0dd9cb7d88dfe9)

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.