Skip to content

Commit a5390da

Browse files
committed
fix e2e failing test
1 parent 7c74cc3 commit a5390da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

e2e/integration/journey.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ it('requires employee selection', () => {
113113
cy.findByRole('button', { name: /submit/i }).click()
114114
cy.findByText(/form is incomplete/i).should('exist')
115115

116-
cy.findByRole('textbox', { name: /who is your employer/i }).type('Ca')
117-
cy.findByRole('option', { name: /Capgemini/i }).click()
116+
cy.get('input[id="react-select-2-input"]').type('Ca').type('{enter}')
118117
cy.findByRole('button', { name: /submit/i }).click()
119118

120119
cy.wait('@createVolunteer').then(({ request: { body: payload } }) => {

0 commit comments

Comments
 (0)