From 12e921f0cad427aecfd0806a05d691097634d3e2 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Mon, 20 Jan 2025 12:33:37 +0800 Subject: [PATCH] MDL-84249 behat: remove unnecessary javascript tag This commit also make the repeated scenario names unique. --- mod/workshop/tests/behat/workshop_assessment.feature | 3 +-- .../tests/behat/workshop_completion_pass_grade.feature | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mod/workshop/tests/behat/workshop_assessment.feature b/mod/workshop/tests/behat/workshop_assessment.feature index ebe61a35fb1..fac11c0747d 100644 --- a/mod/workshop/tests/behat/workshop_assessment.feature +++ b/mod/workshop/tests/behat/workshop_assessment.feature @@ -134,5 +134,4 @@ Feature: Workshop submission and assessment And I am on the TestWorkshop "workshop activity" page logged in as student1 Then I should see "Your submission with assessments" - @javascript - Scenario: Add and assess submissions in workshop with javascript enabled + Scenario: As a teacher I can assess submissions in workshop diff --git a/mod/workshop/tests/behat/workshop_completion_pass_grade.feature b/mod/workshop/tests/behat/workshop_completion_pass_grade.feature index a5274059ab7..0ef39b3d235 100644 --- a/mod/workshop/tests/behat/workshop_completion_pass_grade.feature +++ b/mod/workshop/tests/behat/workshop_completion_pass_grade.feature @@ -1,4 +1,4 @@ -@mod @mod_workshop @core_completion @javascript +@mod @mod_workshop @core_completion Feature: Workshop submission and assessment with pass grade activity completion Background: @@ -107,7 +107,7 @@ Feature: Workshop submission and assessment with pass grade activity completion And I press "Re-calculate grades" And I change phase in workshop "TestWorkshop" to "Closed" - Scenario: Add and assess submissions in workshop with javascript enabled + Scenario: As teacher, I can see the completion status of students in the workshop activity And I am on the "Course1" course page logged in as student1 And the "Receive a grade" completion condition of "TestWorkshop" is displayed as "done" And the "Receive a passing grade" completion condition of "TestWorkshop" is displayed as "failed"