Skip to content

Commit

Permalink
fix: add deleted cy test
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Dec 14, 2024
1 parent 22f2c8d commit 621ff6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cypress/e2e/ScopeSelector/ScopeSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@ When('you remove the program selection', () => {
.click();
});

When('you remove the org unit selection', () => {
cy.get('[data-test="org-unit-selector-container-clear-icon"]')
.click();
});

Then('you should be taken to the main page with only org unit selected', () => {
cy.url().should('eq', `${Cypress.config().baseUrl}/#/?orgUnitId=DiszpKrYNg8`);
});
Expand Down

0 comments on commit 621ff6f

Please sign in to comment.