Skip to content

Commit 03ef0c9

Browse files
committed
test: Fix failing test case with next day offset (fixes #912)
1 parent 047e4c8 commit 03ef0c9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/unit/behaviour.spec.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,14 @@ describe('It should validate various picker scenarios', () => {
348348
});
349349

350350
it('Should display disabled values for time range validation', async () => {
351-
const dp = await openMenu({ timePicker: true, range: true });
351+
const dp = await openMenu({
352+
timePicker: true,
353+
range: true,
354+
startTime: [
355+
{ hours: 15, minutes: 0, seconds: 0 },
356+
{ hours: 15, minutes: 0, seconds: 0 },
357+
],
358+
});
352359

353360
const verifyArrow = async (type: TimeType, order: number, btn: string) => {
354361
const arrowBtn = dp.find(`[data-test="${type}-time-${btn}-btn-${order}"]`);

0 commit comments

Comments
 (0)