From 3aa5d3040bbbb312fb9e549ecae95d2cee45cef4 Mon Sep 17 00:00:00 2001 From: lameze Date: Wed, 12 Jun 2024 14:02:49 +0800 Subject: [PATCH] MDL-81431 behat: set grade item checkboxes one at the time --- grade/tests/behat/grade_edit_tree_bulk_actions.feature | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/grade/tests/behat/grade_edit_tree_bulk_actions.feature b/grade/tests/behat/grade_edit_tree_bulk_actions.feature index 43b9afc8585..524d15209b9 100644 --- a/grade/tests/behat/grade_edit_tree_bulk_actions.feature +++ b/grade/tests/behat/grade_edit_tree_bulk_actions.feature @@ -116,9 +116,8 @@ Feature: Teachers can perform bulk actions on grade items and categories in the And "Collapse" "link" should exist in the "Category 2" "list_item" Scenario: A teacher can move multiple grade items to a category - Given I set the following fields to these values: - | Grade item 1 | 1 | - | Grade item 2 | 1 | + Given I set the field "Grade item 2" to "1" + And I set the field "Grade item 1" to "1" And I click on "Move" "button" in the "sticky-footer" "region" And I click on "Category 3" "list_item" in the "Move items" "dialogue" And I click on "Move" "button" in the "Move items" "dialogue"