diff --git a/cypress/integration/save.cy.js b/cypress/integration/save.cy.js index ab3b7081d..d60f3e57e 100644 --- a/cypress/integration/save.cy.js +++ b/cypress/integration/save.cy.js @@ -56,9 +56,15 @@ describe('rename', () => { expectAOTitleToContain(AO_NAME) expectTableToBeVisible() + cy.intercept('PATCH', '**/api/*/eventVisualizations/*').as( + 'patch-rename' + ) + // rename the AO, changing name only renameVisualization(UPDATED_AO_NAME) + cy.wait('@patch-rename') + expectTableToBeVisible() expectAOTitleToContain(AO_NAME)