Skip to content

Commit

Permalink
CQ-4356927 UI Tests in WKND project fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-kochanek committed May 23, 2024
1 parent 5f803fe commit 35371b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui.tests/test-module/cypress/support/aem.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ Cypress.Commands.add('AEMDeletePage', function (path, ignoreVerification = false
// confirm the delete dialog
cy.get('coral-dialog[aria-hidden="false"] ._coral-Button--warning').click()

// wait until page is deleted
cy.waitUntil(() => cy.AEMPathNotExists(Cypress.env('AEM_PUBLISH_URL'), path + '.html'), {
// wait until page is deleted
cy.waitUntil(() => cy.AEMPathNotExists(Cypress.env('AEM_AUTHOR_URL'), path + '.html'), {
errorMsg: `page ${path} should not exist`,
timeout: 15000,
interval: 1000
Expand Down

0 comments on commit 35371b4

Please sign in to comment.