diff --git a/cypress/e2e/group/showGroupsAndClassesInTable.feature b/cypress/e2e/group/showGroupsAndClassesInTable.feature index 98f938f3..05ab1223 100644 --- a/cypress/e2e/group/showGroupsAndClassesInTable.feature +++ b/cypress/e2e/group/showGroupsAndClassesInTable.feature @@ -17,9 +17,9 @@ Feature: Group - To show groups and classes in one table with respective functio 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 'TestSchulklasse' with source 'moin.schule' + 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 'TestSchulklasse' does not have any action items + And the group 'Cypress-Test-Group' does not have any action items And the class '1' has 4 enabled action items @stable_test diff --git a/cypress/support/pages/group/pageGroups.js b/cypress/support/pages/group/pageGroups.js index 1583e418..0b685d1b 100644 --- a/cypress/support/pages/group/pageGroups.js +++ b/cypress/support/pages/group/pageGroups.js @@ -1,7 +1,7 @@ 'use strict' class Groups { - static #cretaeClass = '[data-testid="createClass"]'; + static #createClass = '[data-testid="createClass"]'; static #confirmClassCreate = '[data-testid="confirmClassCreate"]'; static #manageConfirm = '[data-testid="manage-confirm"]'; static #classTitleNew = '[data-testid="admin-class-title"]'; @@ -16,7 +16,7 @@ class Groups { static #deleteDialogConfirm = '[data-testid="dialog-confirm"]'; clickCreateClass() { - cy.get(Groups.#cretaeClass) + cy.get(Groups.#createClass) .click(); }