From 8dd4296545f5caf5061e06ec9533f782721ebd52 Mon Sep 17 00:00:00 2001 From: Simona Domnisoru Date: Mon, 22 Jul 2024 13:56:20 +0200 Subject: [PATCH] chore: [DHIS2-17733] flaky scenario in NewPage.feature (#3711) --- cypress/e2e/NewPage/NewPage.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cypress/e2e/NewPage/NewPage.js b/cypress/e2e/NewPage/NewPage.js index d6d23d64bf..de6efe53e2 100644 --- a/cypress/e2e/NewPage/NewPage.js +++ b/cypress/e2e/NewPage/NewPage.js @@ -427,6 +427,9 @@ Then('you submit the form again from the duplicates modal', () => { // New person in WHO RMNCH Tracker And('you are in the WHO RMNCH program registration page', () => { cy.visit('/#/new?programId=WSGAb5XwJ3Y&orgUnitId=DiszpKrYNg8'); + cy.get('[data-test="capture-ui-input"]') + .eq(1) + .invoke('val').should('not.be.empty'); }); And('you are in Child programme registration page', () => {