Skip to content

Commit

Permalink
test: use chip label constant
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Dec 11, 2024
1 parent 41bfe70 commit 0e19e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/integration/orgUnitDimension.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe(`Org unit dimension`, () => {
expectOrgUnitTreeToBeEnabled()
clickOrgUnitDimensionModalUpdateButton()
expectTableToBeVisible()
assertChipContainsText('Organisation unit', 2)
assertChipContainsText(TEST_CHIP_LABEL, 2)
assertTooltipContainsEntries(TEST_CHIP_LABEL, [TEST_USER_ORG_UNIT])

cy.log(`deselects '${TEST_USER_ORG_UNIT}'`)
Expand Down

0 comments on commit 0e19e1a

Please sign in to comment.