From 70c055f31b38ae812302f8fb537b80f2ae56bc06 Mon Sep 17 00:00:00 2001 From: AlitaBernachot Date: Wed, 29 Jan 2025 14:58:33 +0100 Subject: [PATCH] test: fix e2e english date format on ci --- 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 8702f5ae4e..da71739047 100644 --- a/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts +++ b/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts @@ -245,12 +245,12 @@ describe('dataset pages', () => { .eq(0) .children('p') .eq(1) - .should('contain.text', '22/09/2020') + .should('contain.text', '9/22/2020') cy.get('@aboutContent') .eq(1) .children('p') .eq(1) - .should('contain.text', '17/03/2024') + .should('contain.text', '3/17/2024') }) it('should not display the same text twice in the constraints', () => { // this dataset has the same text for the license and the legal constraints