From df90fce12aeb6a1548bc71af9b413c154bc7b386 Mon Sep 17 00:00:00 2001 From: Olivia Guyot Date: Fri, 1 Mar 2024 17:10:12 +0100 Subject: [PATCH] e2e(ME): fix arrow function --- apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts b/apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts index 2442fd91aa..0fd57f6f89 100644 --- a/apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts +++ b/apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts @@ -55,7 +55,7 @@ describe('dashboard', () => { .eq(1) .invoke('text') .invoke('trim') - .then((newFirstItem) => { + .then(function (newFirstItem) { expect(newFirstItem).not.to.equal(this.originalFirstItem) }) })