Skip to content

Commit

Permalink
Updated cypress test to handle universal field being required
Browse files Browse the repository at this point in the history
  • Loading branch information
SanttuA committed Mar 19, 2024
1 parent e4a8b8d commit ad4aa91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cypress/e2e/my-premises-page.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ describe('my premises page', () => {
// fill reservation form
cy.get('#reserverName').scrollIntoView().should('be.visible');
cy.get('#reserverName').should('be.visible').type('Test Tester');
cy.get('#universalData').scrollIntoView().should('be.visible').select(1);
cy.get('#universalData').should('have.value', '1');
cy.get('button').contains('Tallenna').click();

// check success message
Expand Down

0 comments on commit ad4aa91

Please sign in to comment.