Skip to content

Commit

Permalink
Merge pull request #155 from hpi-schul-cloud/BC-5669-use-unstable-tag…
Browse files Browse the repository at this point in the history
…-on-the-cy-test

Bc 5669 use unstable tag on the cy test
  • Loading branch information
atlldwp authored Nov 2, 2023
2 parents c5db9c2 + 240e3cc commit ba5ea50
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
10 changes: 5 additions & 5 deletions cypress/e2e/course/createEditAndDeleteCourse.feature
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/group/groupMembers.feature
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 8 additions & 8 deletions cypress/e2e/group/showGroupsAndClassesInTable.feature
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
8 changes: 3 additions & 5 deletions cypress/e2e/topics/accessH5PEditor.feature
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
@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

@stable_test

Scenario: Access H5P Editor
Given I am logged in as a 'teacher1_dbc' at 'default'
When I go to rooms overview
When I go to room 'Course with subject and tasks'
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

0 comments on commit ba5ea50

Please sign in to comment.