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

chore: [DHIS2-16730] Fix failing tests #3524

Merged
merged 2 commits into from
Feb 5, 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/SearchPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,13 @@ Given('you are in the search page with the TB program being preselected from the

When('you fill in the zip code range numbers', () => {
cy.get('[data-test="form-attributes"]')
.find('[data-test="capture-ui-input"]')
.eq(5)
.find('input[description="Zip code"]')
.eq(0)
.type('7130')
.blur();
cy.get('[data-test="form-attributes"]')
.find('[data-test="capture-ui-input"]')
.eq(6)
.find('input[description="Zip code"]')
.eq(1)
.type('7135')
.blur();
});
Expand Down
9 changes: 4 additions & 5 deletions cypress/e2e/SearchThroughAddRelationship/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,13 @@ And('you fill in the the form with values that will return exactly 5 results', (

When('you fill in the zip code range numbers', () => {
cy.get('[data-test="d2-form-area"]')
.find('[data-test="capture-ui-input"]')
.eq(5)
.find('input[description="Zip code"]')
.eq(0)
.type('7130')
.blur();

cy.get('[data-test="d2-form-area"]')
.find('[data-test="capture-ui-input"]')
.eq(6)
.find('input[description="Zip code"]')
.eq(1)
.type('7135')
.blur();
});
Expand Down
Loading