From 6c24b8289f4c7dd1f17817633574d6192e4c851c Mon Sep 17 00:00:00 2001 From: Angelia Dela Cruz Date: Tue, 12 Dec 2023 14:19:08 +0800 Subject: [PATCH] MDL-80382 behat: Replace "Frist" typos in Behat tests to "First" --- blocks/comments/tests/behat/add_comment.feature | 2 +- blocks/comments/tests/behat/block_comment_activity.feature | 2 +- blocks/comments/tests/behat/block_comment_dashboard.feature | 2 +- completion/tests/behat/bulk_edit_activity_completion.feature | 2 +- completion/tests/behat/default_activity_completion.feature | 4 ++-- .../tests/behat/enable_completion_on_pass_grade.feature | 2 +- .../tests/behat/enable_completion_on_view_and_grade.feature | 2 +- completion/tests/behat/enable_manual_complete_mark.feature | 2 +- ...passgrade_completion_criteria_gradeitem_visibility.feature | 2 +- completion/tests/behat/restrict_activity_by_date.feature | 2 +- completion/tests/behat/restrict_activity_by_grade.feature | 2 +- completion/tests/behat/restrict_section_availability.feature | 2 +- mod/label/tests/behat/label_idnumber.feature | 2 +- mod/label/tests/behat/label_visibility.feature | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/blocks/comments/tests/behat/add_comment.feature b/blocks/comments/tests/behat/add_comment.feature index 1fef5008d0a..a64fdcb12ad 100644 --- a/blocks/comments/tests/behat/add_comment.feature +++ b/blocks/comments/tests/behat/add_comment.feature @@ -10,7 +10,7 @@ Feature: Add a comment to the comments block | Course 1 | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | And the following "course enrolments" exist: | user | course | role | diff --git a/blocks/comments/tests/behat/block_comment_activity.feature b/blocks/comments/tests/behat/block_comment_activity.feature index 49c6dcbf37b..4706c9abf88 100644 --- a/blocks/comments/tests/behat/block_comment_activity.feature +++ b/blocks/comments/tests/behat/block_comment_activity.feature @@ -10,7 +10,7 @@ Feature: Enable Block comments on an activity page and view comments | Course 1 | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | And the following "course enrolments" exist: | user | course | role | diff --git a/blocks/comments/tests/behat/block_comment_dashboard.feature b/blocks/comments/tests/behat/block_comment_dashboard.feature index fcb19e7c827..f23ad352ddf 100644 --- a/blocks/comments/tests/behat/block_comment_dashboard.feature +++ b/blocks/comments/tests/behat/block_comment_dashboard.feature @@ -10,7 +10,7 @@ Feature: Enable Block comments on the dashboard and view comments | Course 1 | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | Scenario: Add the comments block on the dashboard and add comments with Javascript disabled When I log in as "teacher1" diff --git a/completion/tests/behat/bulk_edit_activity_completion.feature b/completion/tests/behat/bulk_edit_activity_completion.feature index fadf12e8e71..869f07ca57a 100644 --- a/completion/tests/behat/bulk_edit_activity_completion.feature +++ b/completion/tests/behat/bulk_edit_activity_completion.feature @@ -10,7 +10,7 @@ Feature: Allow teachers to bulk edit activity completion rules in a course. | Course 1 | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | And the following "course enrolments" exist: | user | course | role | diff --git a/completion/tests/behat/default_activity_completion.feature b/completion/tests/behat/default_activity_completion.feature index 92ddb9946fa..779ec7b75ea 100644 --- a/completion/tests/behat/default_activity_completion.feature +++ b/completion/tests/behat/default_activity_completion.feature @@ -14,7 +14,7 @@ Feature: Allow teachers to edit the default activity completion rules in a cours | Course 1 | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | And the following "course enrolments" exist: | user | course | role | @@ -56,7 +56,7 @@ Feature: Allow teachers to edit the default activity completion rules in a cours | Course 1 | C1 | 0 | 1 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | diff --git a/completion/tests/behat/enable_completion_on_pass_grade.feature b/completion/tests/behat/enable_completion_on_pass_grade.feature index cf9846663c4..cb8b1b182ae 100644 --- a/completion/tests/behat/enable_completion_on_pass_grade.feature +++ b/completion/tests/behat/enable_completion_on_pass_grade.feature @@ -7,7 +7,7 @@ Feature: Students will be marked as completed if they have achieved a passing gr | Course 1 | C1 | 0 | 1 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | | student2 | Student | Second | student2@example.com | And the following "course enrolments" exist: diff --git a/completion/tests/behat/enable_completion_on_view_and_grade.feature b/completion/tests/behat/enable_completion_on_view_and_grade.feature index 69e06a3f8c0..80a063a1bb4 100644 --- a/completion/tests/behat/enable_completion_on_view_and_grade.feature +++ b/completion/tests/behat/enable_completion_on_view_and_grade.feature @@ -8,7 +8,7 @@ Feature: Students will be marked as completed and pass/fail | Course 1 | C1 | 0 | 1 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | | student2 | Student | Second | student2@example.com | | student3 | Student | Third | student3@example.com | diff --git a/completion/tests/behat/enable_manual_complete_mark.feature b/completion/tests/behat/enable_manual_complete_mark.feature index 3884daa329d..2a178e1fb89 100644 --- a/completion/tests/behat/enable_manual_complete_mark.feature +++ b/completion/tests/behat/enable_manual_complete_mark.feature @@ -11,7 +11,7 @@ Feature: Allow students to manually mark an activity as complete | Course 1 | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | And the following "course enrolments" exist: | user | course | role | diff --git a/completion/tests/behat/passgrade_completion_criteria_gradeitem_visibility.feature b/completion/tests/behat/passgrade_completion_criteria_gradeitem_visibility.feature index 6fa91a78326..7e5a26e9a64 100644 --- a/completion/tests/behat/passgrade_completion_criteria_gradeitem_visibility.feature +++ b/completion/tests/behat/passgrade_completion_criteria_gradeitem_visibility.feature @@ -10,7 +10,7 @@ Feature: Students will be shown relevant completion state based on grade item vi | Course 1 | C1 | 0 | 1 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | | student2 | Student | Second | student2@example.com | And the following "course enrolments" exist: diff --git a/completion/tests/behat/restrict_activity_by_date.feature b/completion/tests/behat/restrict_activity_by_date.feature index a29c0b6847e..c5ef4aff201 100644 --- a/completion/tests/behat/restrict_activity_by_date.feature +++ b/completion/tests/behat/restrict_activity_by_date.feature @@ -10,7 +10,7 @@ Feature: Restrict activity availability through date conditions | Course 1 | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | And the following "course enrolments" exist: | user | course | role | diff --git a/completion/tests/behat/restrict_activity_by_grade.feature b/completion/tests/behat/restrict_activity_by_grade.feature index 5a85f383a91..9f5933a65d0 100644 --- a/completion/tests/behat/restrict_activity_by_grade.feature +++ b/completion/tests/behat/restrict_activity_by_grade.feature @@ -11,7 +11,7 @@ Feature: Restrict activity availability through grade conditions | Course 1 | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | And the following "course enrolments" exist: | user | course | role | diff --git a/completion/tests/behat/restrict_section_availability.feature b/completion/tests/behat/restrict_section_availability.feature index e9fffcdeb76..fac52c7296e 100644 --- a/completion/tests/behat/restrict_section_availability.feature +++ b/completion/tests/behat/restrict_section_availability.feature @@ -10,7 +10,7 @@ Feature: Restrict sections availability through completion or grade conditions | Course 1 | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher1 | Teacher | Frist | teacher1@example.com | + | teacher1 | Teacher | First | teacher1@example.com | | student1 | Student | First | student1@example.com | And the following "course enrolments" exist: | user | course | role | diff --git a/mod/label/tests/behat/label_idnumber.feature b/mod/label/tests/behat/label_idnumber.feature index e1b0c46843f..9d4daba1df8 100644 --- a/mod/label/tests/behat/label_idnumber.feature +++ b/mod/label/tests/behat/label_idnumber.feature @@ -11,7 +11,7 @@ Feature: set label idnumber | Test | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher | Teacher | Frist | teacher1@example.com | + | teacher | Teacher | First | teacher1@example.com | | student | Student | First | student1@example.com | And the following "course enrolments" exist: | user | course | role | diff --git a/mod/label/tests/behat/label_visibility.feature b/mod/label/tests/behat/label_visibility.feature index a4ea75942d4..ae856fe9c87 100644 --- a/mod/label/tests/behat/label_visibility.feature +++ b/mod/label/tests/behat/label_visibility.feature @@ -11,7 +11,7 @@ Feature: Check label visibility works | Test | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | - | teacher | Teacher | Frist | teacher1@example.com | + | teacher | Teacher | First | teacher1@example.com | | student | Student | First | student1@example.com | And the following "course enrolments" exist: | user | course | role |