From 8c54163029da29f872ded8527356529297217c30 Mon Sep 17 00:00:00 2001 From: salman Date: Mon, 11 Dec 2023 21:21:52 +0530 Subject: [PATCH] feat:added wait --- .../tests/cypress/cypress/e2e/settings/manage_policies.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smoke-test/tests/cypress/cypress/e2e/settings/manage_policies.js b/smoke-test/tests/cypress/cypress/e2e/settings/manage_policies.js index 378cf34437055b..cb9f4f0f9884cf 100644 --- a/smoke-test/tests/cypress/cypress/e2e/settings/manage_policies.js +++ b/smoke-test/tests/cypress/cypress/e2e/settings/manage_policies.js @@ -41,6 +41,7 @@ describe("create and manage platform and metadata policies", () => { cy.contains('tr', `${platform_policy_name}` ) .contains('EDIT') .click(); + cy.wait(3000); cy.clickOptionWithTestId("policy-name"); cy.focused().clear().type(platform_policy_edited); cy.clickOptionWithTestId("policy-description"); @@ -112,6 +113,7 @@ describe("create and manage platform and metadata policies", () => { cy.contains('tr', `${metadata_policy_name}` ) .contains('EDIT') .click(); + cy.wait(3000); cy.clickOptionWithTestId("policy-name") cy.focused().clear().type(metadata_policy_edited); cy.clickOptionWithTestId("policy-description");