From 69da3fd54878105865036449b6d80353764180e4 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Thu, 18 Jul 2024 17:08:32 +0200 Subject: [PATCH] fix(datepicker): timezone --- .../components/datepicker/tests/behaviour/ods-datepicker.e2e.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ods/src/components/datepicker/tests/behaviour/ods-datepicker.e2e.ts b/packages/ods/src/components/datepicker/tests/behaviour/ods-datepicker.e2e.ts index 640cf625b8..e7576ef166 100644 --- a/packages/ods/src/components/datepicker/tests/behaviour/ods-datepicker.e2e.ts +++ b/packages/ods/src/components/datepicker/tests/behaviour/ods-datepicker.e2e.ts @@ -117,6 +117,7 @@ describe('ods-datepicker behaviour', () => { it('should emit an odsChange event', async() => { const value = new Date('10 May 2024'); await setup(''); + await page.emulateTimezone('Europe/Madrid'); await page.evaluate((value) => { document.querySelector('ods-datepicker')!.value = value; }, value);