From 0225bdfee175a2b8266b551003b741b9703b98d4 Mon Sep 17 00:00:00 2001 From: Camille Moinier Date: Fri, 28 Jun 2024 15:01:24 +0200 Subject: [PATCH] fix: fix e2e tests --- apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts b/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts index 92a928df64..f4860f419d 100644 --- a/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts +++ b/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts @@ -294,7 +294,7 @@ describe('dataset pages', () => { }) }) - describe('PREVIEW SECTION : display & functions', () => { + describe.only('PREVIEW SECTION : display & functions', () => { beforeEach(() => { cy.get('datahub-record-metadata') .find('[id="preview"]') @@ -357,7 +357,7 @@ describe('dataset pages', () => { cy.screenshot({ capture: 'fullPage' }) }) it('should display the sharing options', () => { - cy.get('gn-ui-data-view-permalink').should('be.visible') + cy.get('gn-ui-data-view-share').should('be.visible') }) }) describe('features', () => {