diff --git a/client/cypress/integration/e2e/new-student.spec.js b/client/cypress/integration/e2e/new-student.spec.js index ba4a5473..c493db08 100644 --- a/client/cypress/integration/e2e/new-student.spec.js +++ b/client/cypress/integration/e2e/new-student.spec.js @@ -46,12 +46,12 @@ describe('New student', () => { }); cy.visit('/'); - cy.get('[data-cy=join-class-title]').should('contain', 'Einer Klasse beitreten'); - cy.get('[data-cy=input-class-code]').type('XXXX'); - cy.get('[data-cy=join-class]').click(); + cy.get('[data-cy=join-form-title]').should('contain', 'Einer Klasse beitreten'); + cy.get('[data-cy=input-form-code]').type('XXXX'); + cy.get('[data-cy=join-form-confirm]').click(); cy.skipOnboarding(); cy.get('[data-cy=user-widget-avatar]').click(); cy.get('[data-cy=class-list-link]').click(); - cy.get('[data-cy=class-list-title]').should('contain', 'Klassenliste'); + cy.get('[data-cy=group-list-title]').should('contain', 'Klassenliste'); }); }); diff --git a/client/cypress/integration/frontend/school-class.spec.js b/client/cypress/integration/frontend/school-class.spec.js index b7e30324..3e00545b 100644 --- a/client/cypress/integration/frontend/school-class.spec.js +++ b/client/cypress/integration/frontend/school-class.spec.js @@ -229,7 +229,7 @@ describe('Teacher Class Management', () => { cy.visit('/me/my-class'); - cy.get('[data-cy=edit-class-name-link]').click(); + cy.get('[data-cy=edit-group-name-link]').click(); cy.get('[data-cy=edit-class-name-input] input').type('{selectall}{backspace}').type(className); cy.get('[data-cy=modal-save-button]').click(); cy.get('[data-cy=school-class-name]').should('contain', className); diff --git a/client/src/components/profile/ClassList.vue b/client/src/components/profile/ClassList.vue deleted file mode 100644 index 5d5e49eb..00000000 --- a/client/src/components/profile/ClassList.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - - - diff --git a/client/src/components/school-class/EditClassName.vue b/client/src/components/profile/EditGroupName.vue similarity index 65% rename from client/src/components/school-class/EditClassName.vue rename to client/src/components/profile/EditGroupName.vue index 006ca647..750b12ad 100644 --- a/client/src/components/school-class/EditClassName.vue +++ b/client/src/components/profile/EditGroupName.vue @@ -1,9 +1,9 @@ @@ -18,9 +18,9 @@ diff --git a/client/src/components/profile/JoinForm.vue b/client/src/components/profile/JoinForm.vue index 7bc09f4d..bf04afe2 100644 --- a/client/src/components/profile/JoinForm.vue +++ b/client/src/components/profile/JoinForm.vue @@ -1,6 +1,6 @@