From 05fb0e844c25c99c9848b7edb058bfd5e8398f99 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Fri, 25 Aug 2023 08:38:43 +0800 Subject: [PATCH] MDL-79015 behat: make verification step more specific --- mod/lesson/tests/behat/lesson_restrict_access.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lesson/tests/behat/lesson_restrict_access.feature b/mod/lesson/tests/behat/lesson_restrict_access.feature index 795187f8433..3b991f5012f 100644 --- a/mod/lesson/tests/behat/lesson_restrict_access.feature +++ b/mod/lesson/tests/behat/lesson_restrict_access.feature @@ -44,7 +44,7 @@ Feature: Lesson activity access can be restricted And I press "Save and return to course" # Confirm that student1 can see lesson but student2 can't When I am on the "Course 1" course page logged in as - Then I "Test lesson" + Then I "Test lesson" in the "region-main" "region" Examples: | user | visibility |