From 3bf5589a738a957f28358fec88013c19c38e1f05 Mon Sep 17 00:00:00 2001 From: Simona Domnisoru Date: Tue, 19 Nov 2024 12:20:25 +0100 Subject: [PATCH] fix: stabilize posible duplicate modal --- cypress/e2e/NewPage/NewPage.js | 8 ++++---- .../TeiWorkingLists/TeiBulkActions/TeiBulkActions.feature | 3 +++ 2 files changed, 7 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..3aa8bfa958 100644 --- a/cypress/e2e/WorkingLists/TeiWorkingLists/TeiBulkActions/TeiBulkActions.feature +++ b/cypress/e2e/WorkingLists/TeiWorkingLists/TeiBulkActions/TeiBulkActions.feature @@ -51,6 +51,7 @@ 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 +@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 +62,7 @@ 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 +@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 +71,7 @@ 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 +@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