Skip to content

Commit

Permalink
chore: temp
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhaugstulen committed Nov 15, 2023
1 parent 2916968 commit 9419e82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,9 @@ When('you change the sharing settings', () => {
cy.contains('Select a level').click();
cy.get('[data-test="dhis2-uicore-popper"]').contains('View and edit').click({ force: true });
cy.get('[data-test="dhis2-uicore-button"]').contains('Give access').click({ force: true });
cy.get('[data-test="dhis2-uicore-button"]').contains('Close').click({ force: true });
cy.get('[data-test="sharing-dialog"]').within(() => {
cy.get('[data-test="dhis2-uicore-button"]').contains('Close').click({ force: true });
});
});

Then('you see the new sharing settings', () => {
Expand Down Expand Up @@ -559,9 +561,10 @@ When('you create a copy of the working list',
cy.intercept('POST', '**/trackedEntityInstanceFilters**')
.as('newTrackerFilter');

cy.get('[data-test="column-selector-dialog"]')
cy.get('[data-test="new-template-dialog"]')
.within(() => {
cy.get('[data-test="dhis2-uicore-button"]')
.contains('Save')
.click();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const NewTemplateDialog = (props: Props) => {
<Modal
hide={!open}
onClose={onClose}
dataTest={'new-template-dialog'}
position={'center'}
>
<NewTemplateContents
Expand Down

0 comments on commit 9419e82

Please sign in to comment.