MDL-71782 behat: Ensure page after saving changes is there

A similar approach was followed @ MDL-67935, although the
case doesn't seem to be the same.

In any case, it's curious that all local execution are
100% passing and only CIs fail so often. Just guessing if,
maybe, there is some Chrome version factor around (we
are running older, sticky, versions @ CIs.
This commit is contained in:
Eloy Lafuente (stronk7) 2021-07-09 18:07:22 +02:00
parent c357779722
commit 47f708fc30

View File

@ -24,6 +24,7 @@ Feature: Content-Item support
And I expand all fieldsets
And I set the field "Supports Deep Linking (Content-Item Message)" to "1"
And I press "Save changes"
And I should see "Teaching Tool 1"
And I log out
@javascript
@ -58,6 +59,7 @@ Feature: Content-Item support
And I set the field "Tool configuration usage" to "Show in activity chooser and as a preconfigured tool"
And I expand all fieldsets
And I press "Save changes"
And I should see "Teaching Tool 2"
And I log out
When I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on