Skip to content

Commit

Permalink
test(@dpc-sdp/ripple-tide-search): fixed tests after tabs update
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdowdle authored and dylankelly committed Apr 24, 2024
1 parent fb6775c commit fa82cb0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Then(`the data map component tabs should exist`, () => {

Then(`the data map tabs should be labelled:`, (dataTable) => {
const items = dataTable.raw()
cy.get('.rpl-tabs .rpl-tab .rpl-button__label').as('items')
cy.get('.rpl-tabs .rpl-tab').as('items')
items.forEach((row, i: number) => {
cy.get('@items')
.eq(i)
Expand All @@ -23,7 +23,7 @@ Then(`the data map tabs should be labelled:`, (dataTable) => {
})

When(`I click the tab labelled {string}`, (label) => {
cy.get('.rpl-tabs .rpl-tab .rpl-button__label').contains(label).click()
cy.get('.rpl-tabs .rpl-tab').contains(label).click()
})

When(`I enter the term {string} into the location search input`, (term) => {
Expand Down

0 comments on commit fa82cb0

Please sign in to comment.