Skip to content

Commit

Permalink
feat: make it compatible with mds case
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Nov 14, 2024
1 parent 7a355f2 commit 873ee8c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ if (Cypress.env('WORKSPACE_ENABLED')) {

it('Short url should be able to be generated multiple times and preserve workspace info', () => {
cy.visit(`${BASE_PATH}/w/${sourceWorkspaceId}/app/visualize`);
cy.getElementByTestId('visListingTitleLink-[eCommerce]-Markdown').click();
cy.contains(/\[eCommerce\] Markdown/).click();
cy.getElementByTestId('shareTopNavButton')
.click()
.getElementByTestId('sharePanel-Permalinks')
Expand Down Expand Up @@ -165,7 +165,7 @@ if (Cypress.env('WORKSPACE_ENABLED')) {
cy.contains('Workspace assets');
cy.visit(shortUrl);
cy.location('pathname').should('include', `/w/${sourceWorkspaceId}`);
cy.contains('[eCommerce] Markdown');
cy.contains(/\[eCommerce\] Markdown/);
});
});
});
Expand Down

0 comments on commit 873ee8c

Please sign in to comment.