Skip to content

Commit

Permalink
fix : replace waitUntil with wait
Browse files Browse the repository at this point in the history
  • Loading branch information
Salman-Apptware committed Dec 5, 2023
1 parent 2cccb65 commit de5eb0e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe("create and manage platform and metadata policies", () => {
cy.contains('tr', `${platform_policy_name}` )
.contains('EDIT')
.click();
cy.waitUntil(() => cy.contains("Edit a Policy").should('be.visible'), {
cy.wait(() => cy.contains("Edit a Policy").should('be.visible'), {
timeout: 10000, // Adjust the timeout as needed
interval: 1000 // Adjust the interval as needed
});
Expand Down Expand Up @@ -117,7 +117,7 @@ describe("create and manage platform and metadata policies", () => {
cy.contains('tr', `${platform_policy_name}` )
.contains('EDIT')
.click();
cy.waitUntil(() => cy.contains("Edit a Policy").should('be.visible'), {
cy.wait(() => cy.contains("Edit a Policy").should('be.visible'), {
timeout: 10000, // Adjust the timeout as needed
interval: 1000 // Adjust the interval as needed
});
Expand Down

0 comments on commit de5eb0e

Please sign in to comment.