-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into BC-5468-refactoring-1PW-access
- Loading branch information
Showing
21 changed files
with
898 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@release | ||
Feature: Course - To add a ctl tool to a course | ||
|
||
As a teacher I want to add a new ctl tool to my course. | ||
|
||
@stable_test | ||
Scenario: Student cant see the button to add a tool | ||
Given I am logged in as a 'student2_nbc' at 'nbc' | ||
When I go to rooms overview | ||
When I go to room 'German' | ||
When I click on the tools tab | ||
Then I cant see the button to add a tool | ||
|
||
@stable_test | ||
Scenario: Teacher adds a tool to a course | ||
Given I am logged in as a 'teacher1_nbc' at 'nbc' | ||
When I go to rooms overview | ||
When I go to room 'German' | ||
When I click on the tools tab | ||
Then I can see the button to add a tool | ||
When I click on the button to add a tool | ||
Then I can see the tool configuration page title | ||
When I click on the tool configuration selection | ||
Then I can enter 'Test' as tool name in the selection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@release | ||
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 | ||
And I go to new class administration page | ||
Then I see the new class administration page | ||
And I can see the group 'Cypress-Test-Group' with source 'moin.schule' | ||
And the group 'Cypress-Test-Group' has a manage button | ||
When I click the manage group button | ||
Then I can see the manage group page | ||
And I can see the manage group page title | ||
And I can see the group member table | ||
And I can see the 'Lehrkraft' with name 'Herzog' | ||
And I can see the infobox | ||
And I can see the infotext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
@release | ||
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 | ||
And I go to class administration | ||
And I click on add class | ||
And I click on the confirm button | ||
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 | ||
And I can see the group 'Cypress-Test-Group' with source 'moin.schule' | ||
And I can see the class '1' without source | ||
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 | ||
Then I can see the manage classes page | ||
When I click the cancel manage class button | ||
Then I can see the cancel modal | ||
When I click the confirmation button on the cancel modal | ||
Then I see the new class administration page | ||
When I click the manage button | ||
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 | ||
Then I can see the edit classes page | ||
When I click the cancel edit class button | ||
Then I can see the cancel modal | ||
When I click the confirmation button on the cancel modal | ||
Then I see the new class administration page | ||
When I click the edit button | ||
When I click in the name suffix text element | ||
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 | ||
Then I can see the create successor page | ||
When I click the cancel create successor button | ||
Then I can see the cancel modal | ||
When I click the confirmation button on the cancel modal | ||
Then I see the new class administration page | ||
When I click the create successor button | ||
And I confirm creating the successor | ||
And I confirm managing the class | ||
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 | ||
Then I can see the delete modal | ||
When I click the cancel button on the delete modal | ||
Then I see the new class administration page | ||
When I click the delete button | ||
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 | ||
And I click the confirmation button on the delete modal | ||
Then I see the new class administration page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@release | ||
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.