Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [DHIS2-18444] stabilize possible duplicate modal cypress test #3886

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cypress/e2e/NewPage/NewPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -469,14 +469,14 @@ And('you fill the WHO RMNCH program registration form with its required unique v
});

And('you fill the WHO RMNCH program registration form with its required values', () => {
cy.get('[data-test="capture-ui-input"]')
.eq(2)
.type('Ava');

cy.get('[data-test="capture-ui-input"]')
.eq(3)
.type('Didriksson');

cy.get('[data-test="capture-ui-input"]')
.eq(2)
.type('Ava');

cy.get('[data-test="capture-ui-input"]')
.eq(9)
.type('1985-10-01')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Feature: User facing tests for bulk actions on Tracked Entity working lists
When you confirm 3 active enrollments successfully
Then the bulk complete enrollments modal should close

#DHIS2-18447
@skip
Scenario: the user should be able to bulk complete enrollments without completing events
Given you open the main page with Ngelehun and Malaria Case diagnosis context
And you select row number 1
Expand All @@ -61,6 +63,8 @@ Feature: User facing tests for bulk actions on Tracked Entity working lists
When you confirm 1 active enrollment without completing events successfully
Then the bulk complete enrollments modal should close

#DHIS2-18447
@skip
Scenario: the user should be able to bulk delete enrollments
Given you open the main page with Ngelehun and Malaria Case diagnosis context
And you select the first 3 rows
Expand All @@ -69,6 +73,8 @@ Feature: User facing tests for bulk actions on Tracked Entity working lists
When you confirm deleting 3 enrollments
Then the bulk delete enrollments modal should close

#DHIS2-18447
@skip
Scenario: the user should be able to bulk delete only active enrollments
Given you open the main page with Ngelehun and Malaria Case diagnosis context
And you select the first 3 rows
Expand Down
Loading