Skip to content

Commit

Permalink
adjust e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchuhmacher committed Jul 31, 2023
1 parent 794c0b0 commit e1c8eb3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions features/management_classes/createClass.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Feature: Set of tests to create classes
Then <userRole> should see that number of students in class with name '<customClassName>' is '<numberOfStudentsInClass>'
Examples:
| userRole | username | password | customClassName | schoolYear | numberOfStudentsInClass |
| admin | olivier.admin.qa@schul-cloud.org | Schulcloud1qa! | 11c | 2022/23 | 0 |
| admin | olivier.admin.qa@schul-cloud.org | Schulcloud1qa! | 11c | 2023/24 | 0 |

@createClassWith3Members @stableTest
Scenario Outline: As a user, I want to be able to create class with 3 members
Expand All @@ -26,4 +26,4 @@ Feature: Set of tests to create classes
Then <userRole> should see that number of students in class with name '<customClassName>' is '<numberOfStudentsInClass>'
Examples:
| userRole | username | password | customClassName | numberOfStudentsInClass | studentsFirstname | studentLastname | schoolYear |
| teacher | karl.teacher.qa@schul-cloud.org | Schulcloud1qa! | 1C | 3 | Student | LastName | 2022/23 |
| teacher | karl.teacher.qa@schul-cloud.org | Schulcloud1qa! | 1C | 3 | Student | LastName | 2023/24 |
2 changes: 1 addition & 1 deletion features/management_classes/editClass.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Feature: I want to edit a class
Then <userRole> should see that class with name '<newCustomClassName>' and teacher lastname '<teacherLastname>' is visible
Examples:
| userRole | customClassName | newCustomClassName | schoolYear | teacherLastname | schoolYearOld |
| teacher | 8a | 4d | 2022/23 | Herzog | 2021/22 |
| teacher | 8a | 4d | 2023/24 | Herzog | 2022/23 |

@editClassAddStudentTeacherAndDeleteStudentTeacher @e2eCore
Scenario Outline: As a user, I want to be able to edit a class and add teacher+student and then delete teacher+student
Expand Down
2 changes: 1 addition & 1 deletion features/management_students/deleteStudent.feature
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@

# Examples:
# | userRole | adminUsername | password | studentUserName | customClassName | schoolYear | studentOne | studentTwo | numberOfStudentsInClass |
# | admin | kai.admin.qa@schul-cloud.org | Schulcloud1qa! | boris.wasser.qa@schul-cloud.org | 7e | 2022/23 | Herbert Kraft | Boris Wasser | 2 |
# | admin | kai.admin.qa@schul-cloud.org | Schulcloud1qa! | boris.wasser.qa@schul-cloud.org | 7e | 2023/24 | Herbert Kraft | Boris Wasser | 2 |

0 comments on commit e1c8eb3

Please sign in to comment.