Skip to content

Commit

Permalink
chore: cypress test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Nov 2, 2023
1 parent 14793ae commit 1fd0b7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
4 changes: 3 additions & 1 deletion cypress/elements/layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export class Layer {
selectOuLevel(level) {
cy.getByDataTest('org-unit-level-select').click()

cy.contains(level).click()
cy.getByDataTest('dhis2-uicore-select-menu-menuwrapper')
.contains(level)
.click()
cy.get('body').click() // Close the modal menu

return this
Expand Down
12 changes: 0 additions & 12 deletions cypress/elements/orgunit_layer.js

This file was deleted.

0 comments on commit 1fd0b7a

Please sign in to comment.