Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/browser/maps-list-focus.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ test('removing another saved place keeps focus and selection on the retained sav

test('automatic Maps search cancels empty and abandoned input',async({page})=>{
await setup(page);const query=page.getByRole('textbox',{name:'Search places',exact:true});
await page.clock.install();
const clockStart=new Date();
await page.clock.install({time:clockStart});
await page.clock.pauseAt(new Date(clockStart.getTime()+1000));
await query.fill('abandoned');await query.fill('');
await page.clock.runFor(500);
expect(await page.evaluate(()=>(window as any).mapFocus.searches)).toEqual([]);
Expand Down
Loading