Skip to content

Commit

Permalink
test: hover over list to prevent it from being stale
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkrulltott committed Dec 14, 2023
1 parent 3007572 commit 30fb1b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cypress/integration/dimensions/data.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ describe('Data dimension', () => {
})
expectSourceToNotBeLoading()
expectGroupSelectToBe(testDataType.testGroup.name)
cy.getBySel('data-dimension-transfer-sourceoptions').trigger(
'mouseover'
) // seems to trigger Cypress to refretch the list and update the result so it's no longer stale
expectSelectableDataItemsAmountToBe(
testDataType.testGroup.itemAmount
)
Expand Down

0 comments on commit 30fb1b1

Please sign in to comment.