From 1e03249349bb2f3cb7a0a8fd33a50dd2f07e36c0 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Fri, 9 Jul 2021 18:07:22 +0200 Subject: [PATCH] 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. --- mod/lti/tests/behat/contentitem.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/lti/tests/behat/contentitem.feature b/mod/lti/tests/behat/contentitem.feature index c75cc2b3438..6b1c6ee9537 100644 --- a/mod/lti/tests/behat/contentitem.feature +++ b/mod/lti/tests/behat/contentitem.feature @@ -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