diff --git a/cypress/e2e/docMap.spec.ts b/cypress/e2e/docMap.spec.ts index 5c7e8201..d1a0c989 100755 --- a/cypress/e2e/docMap.spec.ts +++ b/cypress/e2e/docMap.spec.ts @@ -14,23 +14,23 @@ describe('Editor docs tests', () => { it('Test to see if the correct URL loads when changing from one diagram to other', () => { cy.contains('Flow').click(); - cy.get(`[data-cy=docs][href$="/#/flowchart"]`).should('exist'); + cy.get(`[data-cy=docs][href$="/syntax/flowchart"]`).should('exist'); cy.contains('Config').click(); - cy.get(`[data-cy=docs][href$="/#/flowchart?id=configuration"]`).should('exist'); + cy.get(`[data-cy=docs][href$="/syntax/flowchart?id=configuration"]`).should('exist'); cy.contains('Sequence').click(); - cy.get(`[data-cy=docs][href$="/#/sequenceDiagram?id=configuration"]`).should('exist'); + cy.get(`[data-cy=docs][href$="/syntax/sequenceDiagram?id=configuration"]`).should('exist'); cy.contains('Code').click(); - cy.get(`[data-cy=docs][href$="/#/sequenceDiagram"]`).should('exist'); + cy.get(`[data-cy=docs][href$="/syntax/sequenceDiagram"]`).should('exist'); }); it("Test to check URLs for a case where config URL doesn't exist", () => { cy.contains('State').click(); - cy.get(`[data-cy=docs][href$="/#/stateDiagram"]`).should('exist'); + cy.get(`[data-cy=docs][href$="/syntax/stateDiagram"]`).should('exist'); cy.contains('Config').click(); - cy.get(`[data-cy=docs][href$="/#/stateDiagram"]`).should('exist'); + cy.get(`[data-cy=docs][href$="/syntax/stateDiagram"]`).should('exist'); }); });