diff --git a/cypress/integration/documentsLayer.spec.js b/cypress/integration/documentsLayer.spec.js index 58df4fc3..677c1fe3 100644 --- a/cypress/integration/documentsLayer.spec.js +++ b/cypress/integration/documentsLayer.spec.js @@ -45,6 +45,8 @@ describe('Documents layer', () => { cy.wait(5000).get('[data-test-subj="top-nav"]').click(); cy.wait(5000).get('[data-test-subj="savedObjectTitle"]').type(uniqueName); cy.wait(5000).get('[data-test-subj="confirmSaveSavedObjectButton"]').click(); + const uuidRegex = /[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/i; + cy.wait(5000).url().should('contain', uuidRegex); }); it('Open saved map with documents layer', () => {