Skip to content

Commit 69da3fd

Browse files
aesteves60dpellier
authored andcommitted
fix(datepicker): timezone
1 parent 30c01e4 commit 69da3fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ods/src/components/datepicker/tests/behaviour/ods-datepicker.e2e.ts

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ describe('ods-datepicker behaviour', () => {
117117
it('should emit an odsChange event', async() => {
118118
const value = new Date('10 May 2024');
119119
await setup('<ods-datepicker name="ods-datepicker"></ods-datepicker>');
120+
await page.emulateTimezone('Europe/Madrid');
120121
await page.evaluate((value) => {
121122
document.querySelector<OdsDatepicker & HTMLElement>('ods-datepicker')!.value = value;
122123
}, value);

0 commit comments

Comments
 (0)