From 5b5b477ed3a26c7eb04c4966802769fe973e1631 Mon Sep 17 00:00:00 2001 From: Simona Domnisoru Date: Wed, 20 Nov 2024 10:35:20 +0100 Subject: [PATCH] fix: [DHIS2-18444] stabilize possible duplicate modal cypress test (#3886) --- cypress/e2e/NewPage/NewPage.js | 8 ++++---- .../TeiWorkingLists/TeiBulkActions/TeiBulkActions.feature | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/cypress/e2e/NewPage/NewPage.js b/cypress/e2e/NewPage/NewPage.js index 9ef6ab3440..a4a7579656 100644 --- a/cypress/e2e/NewPage/NewPage.js +++ b/cypress/e2e/NewPage/NewPage.js @@ -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') diff --git a/cypress/e2e/WorkingLists/TeiWorkingLists/TeiBulkActions/TeiBulkActions.feature b/cypress/e2e/WorkingLists/TeiWorkingLists/TeiBulkActions/TeiBulkActions.feature index 06eb0a2fb1..f79f4faf87 100644 --- a/cypress/e2e/WorkingLists/TeiWorkingLists/TeiBulkActions/TeiBulkActions.feature +++ b/cypress/e2e/WorkingLists/TeiWorkingLists/TeiBulkActions/TeiBulkActions.feature @@ -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 @@ -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 @@ -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