Skip to content

Commit

Permalink
MDL-71782 behat: Ensure page after saving changes is there
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stronk7 committed Jul 9, 2021
1 parent c357779 commit 47f708f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod/lti/tests/behat/contentitem.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 47f708f

Please sign in to comment.