Skip to content

Commit

Permalink
test: modify test to select an option from select multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
g-saracca committed May 16, 2024
1 parent 78c2e10 commit 0046b6a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ describe('Create Dataset', () => {
.within(() => {
cy.findByLabelText(/^Text/i).type('Test description text', { force: true })
})

cy.findByText('Subject')
.closest('.row')
.within(() => {
cy.findByLabelText(/^Arts and Humanities/i).check({ force: true })
cy.findByLabelText('Toggle options menu').click({ force: true })

cy.findByLabelText('Agricultural Sciences').click()
})

cy.findByText(/Save Dataset/i).click()
Expand Down

0 comments on commit 0046b6a

Please sign in to comment.