Skip to content

Commit 51cb78d

Browse files
committed
feat: Navigate to source page after clicking on shared map card
1 parent 510d9aa commit 51cb78d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cypress/e2e/snowflake-s3/fork.cy.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ describe('fork', () => {
3232
cy.get('@sharedMapCard').find('[data-testid="map-card-divider"]').should('not.exist')
3333
cy.get('@sharedMapCard').find('[data-testid="map-card-footer-actions"]').should('not.exist')
3434
cy.get('@sharedMapCard').click()
35+
cy.location('pathname').then((pathname) => {
36+
cy.visit(`${pathname}/source`)
37+
})
3538

3639
// fork report
3740
cy.get('button#dekart-fork-button').click()

0 commit comments

Comments
 (0)