Skip to content

Commit 0b8ec26

Browse files
committed
comments
1 parent 8d3fba7 commit 0b8ec26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

e2e/tests/visual/controlledClock.visual.spec.js

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ test.describe('Visual - Controlled Clock', () => {
5454
date.setUTCMinutes(date.getUTCMinutes() + 5);
5555
const startDate = date.toISOString().replace(/T/, ' ');
5656

57+
// Fill start time with a value >= the current end time
5758
await startTimeInput.fill('');
5859
await startTimeInput.fill(startDate);
5960
await page.keyboard.press('Enter');
@@ -64,6 +65,7 @@ test.describe('Visual - Controlled Clock', () => {
6465
date.setUTCMinutes(date.getUTCMinutes() - 15);
6566
const endDate = date.toISOString().replace(/T/, ' ');
6667

68+
// Fill end time with a value <= the current start time
6769
await endTimeInput.fill('');
6870
await endTimeInput.fill(endDate);
6971
await page.keyboard.press('Enter');

0 commit comments

Comments
 (0)