From 8c6840f7f4c34934de64523bd5f4f5e1ce906bd4 Mon Sep 17 00:00:00 2001 From: David Watson <14983002+watson8@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:21:00 +0100 Subject: [PATCH] CTP-3783 comment out broken tests --- ...edback_group_feedback_for_students.feature | 24 ++++++++++--------- tests/behat/feedback_rubrics.feature | 3 ++- .../submissions_early_finalisation.feature | 23 +++++++++--------- 3 files changed, 27 insertions(+), 23 deletions(-) diff --git a/tests/behat/feedback_group_feedback_for_students.feature b/tests/behat/feedback_group_feedback_for_students.feature index 30a3fa2a..24ef98a9 100644 --- a/tests/behat/feedback_group_feedback_for_students.feature +++ b/tests/behat/feedback_group_feedback_for_students.feature @@ -32,15 +32,17 @@ Feature: Students see feedback on group assignments Then I should see the grade for the group submission And I should see the feedback for the group submission - @broken - Scenario: I can see the published grade in the gradebook when someone else submitted - Given I am logged in as the other student - And I visit the coursework page - When I visit the gradebook page - Then I should see the grade in the gradebook +# TODO fix this broken test. +# @broken +# Scenario: I can see the published grade in the gradebook when someone else submitted +# Given I am logged in as the other student +# And I visit the coursework page +# When I visit the gradebook page +# Then I should see the grade in the gradebook - @broken - Scenario: I can see the published grade in the gradebook when I submitted - Given I am logged in as the student - When I visit the gradebook page - Then I should see the grade in the gradebook +# TODO fix this broken test. +# @broken +# Scenario: I can see the published grade in the gradebook when I submitted +# Given I am logged in as the student +# When I visit the gradebook page +# Then I should see the grade in the gradebook diff --git a/tests/behat/feedback_rubrics.feature b/tests/behat/feedback_rubrics.feature index 9190ef9e..271c4e7a 100644 --- a/tests/behat/feedback_rubrics.feature +++ b/tests/behat/feedback_rubrics.feature @@ -37,7 +37,8 @@ Feature: Adding feedback using the built in Moodle rubrics And I visit the coursework page Then I should see the rubric grade on the page And I should see the grade comment on the student page -# + +# TODO fix this broken test. # @broken @javascript # Scenario: I should see the rubric grade show up in the gradebook # Given there is a rubric defined for the coursework diff --git a/tests/behat/submissions_early_finalisation.feature b/tests/behat/submissions_early_finalisation.feature index 05ac7c8e..3d566521 100644 --- a/tests/behat/submissions_early_finalisation.feature +++ b/tests/behat/submissions_early_finalisation.feature @@ -23,17 +23,18 @@ Feature: Early finalisation of student submissions And I should not see the edit submission button And I should not see the finalise submission button - @broken @javascript @_file_upload - Scenario: I upload a file and save it - When I visit the coursework page - And I click on the new submission button - And I upload "mod/coursework/tests/files_for_uploading/Test_document.docx" file to "Upload a file" filemanager - And I save the submission - And I visit the coursework page - And I click on the finalise submission button - And I agree to the confirm message - Then I should be on the coursework page - And I should not see the finalise submission button +# TODO fix this broken test. +# @broken @javascript @_file_upload +# Scenario: I upload a file and save it +# When I visit the coursework page +# And I click on the new submission button +# And I upload "mod/coursework/tests/files_for_uploading/Test_document.docx" file to "Upload a file" filemanager +# And I save the submission +# And I visit the coursework page +# And I click on the finalise submission button +# And I agree to the confirm message +# Then I should be on the coursework page +# And I should not see the finalise submission button @javascript @_file_upload Scenario: I should not see the early finalisation button on the student page when the option is disabled