From 32ce23ea373360c0fd334c32b3316d337a65a359 Mon Sep 17 00:00:00 2001 From: atlldwp Date: Thu, 26 Oct 2023 16:24:55 +0200 Subject: [PATCH 1/4] added unstable test --- cypress/e2e/topics/accessH5PEditor.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/topics/accessH5PEditor.feature b/cypress/e2e/topics/accessH5PEditor.feature index 19ac2cdc..6b05af17 100644 --- a/cypress/e2e/topics/accessH5PEditor.feature +++ b/cypress/e2e/topics/accessH5PEditor.feature @@ -3,7 +3,7 @@ Feature: To access the H5P editor as a teacher. As a teacher, I want to be able to access the H5P Editor for a topic in my course to create learning content -@stable_test +@unstable_test Scenario: Access H5P Editor Given I am logged in as a 'teacher1_dbc' at 'default' When I go to rooms overview From bc448f5ab07cd86f4af5fc89ef82cbbf85adda53 Mon Sep 17 00:00:00 2001 From: atlldwp Date: Fri, 27 Oct 2023 08:27:29 +0200 Subject: [PATCH 2/4] tag unstable test --- cypress/e2e/topics/accessH5PEditor.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/topics/accessH5PEditor.feature b/cypress/e2e/topics/accessH5PEditor.feature index 6b05af17..d0f69cec 100644 --- a/cypress/e2e/topics/accessH5PEditor.feature +++ b/cypress/e2e/topics/accessH5PEditor.feature @@ -1,9 +1,9 @@ -@release +@unstable_test Feature: To access the H5P editor as a teacher. As a teacher, I want to be able to access the H5P Editor for a topic in my course to create learning content -@unstable_test + Scenario: Access H5P Editor Given I am logged in as a 'teacher1_dbc' at 'default' When I go to rooms overview From 556ffd5bfb25b95394ec4208ed2fb13b2a56494e Mon Sep 17 00:00:00 2001 From: atlldwp Date: Mon, 30 Oct 2023 14:44:15 +0100 Subject: [PATCH 3/4] added unstable tags --- cypress/e2e/group/groupMembers.feature | 4 ++-- .../group/showGroupsAndClassesInTable.feature | 16 ++++++++-------- cypress/e2e/topics/accessH5PEditor.feature | 4 +--- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/cypress/e2e/group/groupMembers.feature b/cypress/e2e/group/groupMembers.feature index 6f7a5ff8..cd39b3d9 100644 --- a/cypress/e2e/group/groupMembers.feature +++ b/cypress/e2e/group/groupMembers.feature @@ -1,9 +1,9 @@ -@release +@unstable_test Feature: Group - To show members in a group As a teacher I want to see the members in a group - @stable_test + Scenario: As a teacher I can manage a group of type class from external systems Given I am logged in as a 'teacher1_nbc' at 'nbc' When I go to administration page diff --git a/cypress/e2e/group/showGroupsAndClassesInTable.feature b/cypress/e2e/group/showGroupsAndClassesInTable.feature index faca0496..7346f233 100644 --- a/cypress/e2e/group/showGroupsAndClassesInTable.feature +++ b/cypress/e2e/group/showGroupsAndClassesInTable.feature @@ -1,9 +1,9 @@ -@release +@unstable_test Feature: Group - To show groups and classes in one table with respective functionality As a teacher I want to see all groups and classes belonging to my school. - @stable_test + Scenario: As a pre-condition teacher adds a class to school Given I am logged in as a 'teacher1_nbc' at 'nbc' When I go to administration page @@ -13,7 +13,7 @@ Feature: Group - To show groups and classes in one table with respective functio And I confirm managing the class Then I see the new class administration page - @stable_test + Scenario: As a teacher i can see all classes and groups of my school on the new class administration page. Given I see the new class administration page Then I can see the page title @@ -22,7 +22,7 @@ Feature: Group - To show groups and classes in one table with respective functio And the group 'Cypress-Test-Group' has a manage button And the class '1' has 4 enabled action items - @stable_test + Scenario: As a teacher i can manage my classes Given I see the new class administration page When I click the manage button @@ -35,7 +35,7 @@ Feature: Group - To show groups and classes in one table with respective functio And I confirm managing the class Then I see the new class administration page - @stable_test + Scenario: As a teacher i can edit my classes Given I see the new class administration page When I click the edit button @@ -49,7 +49,7 @@ Feature: Group - To show groups and classes in one table with respective functio Then I can click on the save changes button And I see the new class administration page - @stable_test + Scenario: As a teacher i can upgrade my upgradable classes Given I see the new class administration page When I click the create successor button @@ -64,7 +64,7 @@ Feature: Group - To show groups and classes in one table with respective functio Then I see the new class administration page And the create successor button of the original class is disabled - @stable_test + Scenario: As a teacher i can delete my classes Given I see the new class administration page When I click the delete button @@ -75,7 +75,7 @@ Feature: Group - To show groups and classes in one table with respective functio And I click the confirmation button on the delete modal Then I see the new class administration page - @stable_test + Scenario: As a post-condition teacher deletes the successor class and logs out Given I see the new class administration page When I click the delete button diff --git a/cypress/e2e/topics/accessH5PEditor.feature b/cypress/e2e/topics/accessH5PEditor.feature index d0f69cec..2e14b5d4 100644 --- a/cypress/e2e/topics/accessH5PEditor.feature +++ b/cypress/e2e/topics/accessH5PEditor.feature @@ -11,6 +11,4 @@ Scenario: Access H5P Editor When I click on topic 'Statistic' on course page When I click on the button Edit on topic page When I click on the Add Content H5P button - Then I can click on the Create H5P button - - + Then I can click on the Create H5P button \ No newline at end of file From 240e3cc3bdc70825692ca4e584b9f9b16a3b1a44 Mon Sep 17 00:00:00 2001 From: atlldwp Date: Mon, 30 Oct 2023 15:16:19 +0100 Subject: [PATCH 4/4] added unstable tag on course create test --- cypress/e2e/course/createEditAndDeleteCourse.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cypress/e2e/course/createEditAndDeleteCourse.feature b/cypress/e2e/course/createEditAndDeleteCourse.feature index 6678600b..3842c37f 100644 --- a/cypress/e2e/course/createEditAndDeleteCourse.feature +++ b/cypress/e2e/course/createEditAndDeleteCourse.feature @@ -1,9 +1,9 @@ -@release +@unstable_test Feature: Course - To add and delete a course by the teacher As a teacher I want to create a new course and want to delete the newly created test course/room so that list of courses/rooms can be cleaned and not full with the newly created test courses/rooms. - @stable_test + Scenario: as a pre-condition teacher deletes undeleted tests Given I am logged in as a 'teacher1_dbc' at 'default' When I go to rooms overview @@ -12,7 +12,7 @@ Feature: Course - To add and delete a course by the teacher When I delete all courses named 'Cypress Testkurs Edit' Then I do not see the course 'Cypress Testkurs Edit' on the room overview page - @stable_test + Scenario: Create, edit and delete a course Given I am logged in as a 'teacher1_dbc' at 'default' When I go to rooms overview @@ -50,7 +50,7 @@ Feature: Course - To add and delete a course by the teacher When I click on the button delete on the modal to confirm the course deletion Then I do not see the course 'Cypress Testkurs Edit' on the room overview page - @stable_test + Scenario: as a pre-condition teacher deletes undeleted tests Given I am logged in as a 'teacher1_nbc' at 'nbc' When I go to rooms overview @@ -59,7 +59,7 @@ Feature: Course - To add and delete a course by the teacher When I delete all courses named 'Cypress Testkurs Edit' Then I do not see the course 'Cypress Testkurs Edit' on the room overview page - @stable_test + Scenario: Create, edit and delete a course with groups of type class in nbc Given I am logged in as a 'teacher1_nbc' at 'nbc' When I go to rooms overview