MDL-77574 myoverview: wait until next button exists before clicking

This commit is contained in:
Simey Lameze
2023-03-13 14:19:10 +08:00
parent c7e549cda4
commit f39e564141
@@ -146,6 +146,7 @@ Feature: My overview block pagination
| student1 | C12 | student |
| student1 | C13 | student |
When I log in as "student1"
And I wait until ".block_myoverview [data-control='next']" "css_element" exists
And I click on "[data-control='next']" "css_element" in the "Course overview" "block"
Then the "class" attribute of ".block_myoverview [data-control='next']" "css_element" should contain "disabled"
And I log out