From f413b80a206f3946fd20423e85a1a7adf316c322 Mon Sep 17 00:00:00 2001 From: Nandini Chandra Date: Thu, 19 Sep 2024 16:03:54 -0500 Subject: [PATCH] Some formatting Signed-off-by: Nandini Chandra --- .../assessment_questionnaire/assessment_questionnaire.ts | 1 + cypress/e2e/models/migration/controls/stakeholders.ts | 1 + .../tests/migration/archetypes/questionnaire_features.test.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/cypress/e2e/models/administration/assessment_questionnaire/assessment_questionnaire.ts b/cypress/e2e/models/administration/assessment_questionnaire/assessment_questionnaire.ts index c6a4513b7..b000bcac1 100644 --- a/cypress/e2e/models/administration/assessment_questionnaire/assessment_questionnaire.ts +++ b/cypress/e2e/models/administration/assessment_questionnaire/assessment_questionnaire.ts @@ -30,6 +30,7 @@ export class AssessmentQuestionnaire { const itemsPerPage = 100; if (forceReload) { cy.visit(AssessmentQuestionnaire.fullUrl, { timeout: 35 * SEC }).then((_) => { + cy.wait(10 * SEC); selectItemsPerPage(itemsPerPage); }); return; diff --git a/cypress/e2e/models/migration/controls/stakeholders.ts b/cypress/e2e/models/migration/controls/stakeholders.ts index 08270596f..7db91c9fd 100644 --- a/cypress/e2e/models/migration/controls/stakeholders.ts +++ b/cypress/e2e/models/migration/controls/stakeholders.ts @@ -63,6 +63,7 @@ export class Stakeholders { public static openList(forceReload = false): void { if (forceReload) { cy.visit(Stakeholders.fullUrl, { timeout: 35 * SEC }).then((_) => { + cy.wait(10 * SEC); cy.get("h1", { timeout: 60 * SEC }).should("contain", "Controls"); selectItemsPerPage(100); }); diff --git a/cypress/e2e/tests/migration/archetypes/questionnaire_features.test.ts b/cypress/e2e/tests/migration/archetypes/questionnaire_features.test.ts index 0f2a51017..d69670524 100644 --- a/cypress/e2e/tests/migration/archetypes/questionnaire_features.test.ts +++ b/cypress/e2e/tests/migration/archetypes/questionnaire_features.test.ts @@ -141,6 +141,7 @@ describe(["@tier3"], "Tests for archetype questionnaire features", () => { archetype.delete(); Stakeholders.openList(true); deleteByList(stakeholderList); + AssessmentQuestionnaire.open(true); AssessmentQuestionnaire.deleteAllQuestionnaires(); }); });