From d350fcc04002bf8cec19a81f76471d437f29873a Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Mon, 30 Jan 2023 13:32:30 +0800 Subject: [PATCH] MDL-77079 behat: use different step to validate presets table data --- .../tool/admin_presets/tests/behat/export_settings.feature | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/admin/tool/admin_presets/tests/behat/export_settings.feature b/admin/tool/admin_presets/tests/behat/export_settings.feature index 86d49e667e2..3cdb61eae62 100644 --- a/admin/tool/admin_presets/tests/behat/export_settings.feature +++ b/admin/tool/admin_presets/tests/behat/export_settings.feature @@ -11,8 +11,11 @@ Feature: I can add a new preset with current settings And I set the field "Name" to "Starter" And I set the field "Description" to "Non-core starter preset" When I click on "Create preset" "button" - Then I should see "Moodle with all of the most popular features" in the "Starter" "table_row" - And I should see "Starter" in the "Non-core starter preset" "table_row" + Then the following should exist in the "Site admin presets table" table: + | Name | Description | + | Starter | Moodle with all of the most popular features, including Assignment, Feedback, Forum, H5P, Quiz and Completion tracking. | + | Full | All the Starter features plus External (LTI) tool, SCORM, Workshop, Analytics, Badges, Competencies, Learning plans and lots more. | + | Starter | Non-core starter preset | Scenario: Export current settings Given I click on "Create preset" "button"