From 75abd069c3747dd5a721776d73a1cf91f65fa209 Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Thu, 8 Aug 2024 17:40:15 +0700 Subject: [PATCH] MDL-82393 mod_assign: Fix Behat failures --- mod/assign/tests/behat/group_submission.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/assign/tests/behat/group_submission.feature b/mod/assign/tests/behat/group_submission.feature index a098e4e804f..9560d58f284 100644 --- a/mod/assign/tests/behat/group_submission.feature +++ b/mod/assign/tests/behat/group_submission.feature @@ -99,8 +99,8 @@ Feature: Group assignment submissions And I follow "View all submissions" And ".groupsearchwidget" "css_element" should exist And I should see "Select visible groups" in the ".groupsearchwidget" "css_element" - And I confirm "All participants" in "group" search within the gradebook widget exists - And I confirm "Group 1" in "group" search within the gradebook widget exists + And I confirm "All participants" exists in the "Search groups" search combo box + And I confirm "Group 1" exists in the "Search groups" search combo box # The course enforces its group mode on modules. And I am on the "C1" "course editing" page And I set the following fields to these values: @@ -110,8 +110,8 @@ Feature: Group assignment submissions And I follow "View all submissions" And ".groupsearchwidget" "css_element" should exist And I should see "Select separate groups" in the ".groupsearchwidget" "css_element" - And I confirm "All participants" in "group" search within the gradebook widget exists - And I confirm "Group 1" in "group" search within the gradebook widget exists + And I confirm "All participants" exists in the "Search groups" search combo box + And I confirm "Group 1" exists in the "Search groups" search combo box @javascript Scenario: Switch between group modes