Fix cypress test
This commit is contained in:
parent
0ffe77b745
commit
dccbf2ae1a
|
|
@ -34,6 +34,7 @@ describe('Join Class', () => {
|
||||||
|
|
||||||
cy.visit('/me/profile');
|
cy.visit('/me/profile');
|
||||||
|
|
||||||
|
cy.get('[data-cy=user-widget-avatar]').click();
|
||||||
cy.get('[data-cy=class-selection]').click();
|
cy.get('[data-cy=class-selection]').click();
|
||||||
cy.get('[data-cy=class-selection-entry]').should('have.length', 1);
|
cy.get('[data-cy=class-selection-entry]').should('have.length', 1);
|
||||||
|
|
||||||
|
|
@ -41,7 +42,7 @@ describe('Join Class', () => {
|
||||||
|
|
||||||
cy.get('[data-cy=input-class-code]').type('XXXX');
|
cy.get('[data-cy=input-class-code]').type('XXXX');
|
||||||
cy.get('[data-cy=join-class]').click();
|
cy.get('[data-cy=join-class]').click();
|
||||||
|
|
||||||
cy.get('[data-cy=class-selection]').click();
|
cy.get('[data-cy=class-selection]').click();
|
||||||
cy.get('[data-cy=class-selection-entry]').should('have.length', 2);
|
cy.get('[data-cy=class-selection-entry]').should('have.length', 2);
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue