experiments in a post-browser web
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(tests): migrate leftover ext/ substring patterns the URL sweep missed

Two test files had getWindow substring matchers still looking for
'ext/X/' paths that no longer exist after the URL migration:

- localsearch.spec.ts (5 occurrences) — was not in the sweep list
because the file name is 'localsearch' but the feature is 'lists'.
Agent missed the mapping.
- groups-context.spec.ts:343 — one stray getWindow for the HUD
window that slipped past.

Both trivially fixed by dropping the 'ext/' prefix from the
substring. Verified Lists Extension 7/7 passing.

+6 -6
+1 -1
tests/desktop/groups-context.spec.ts
··· 340 340 341 341 // Open HUD — arm the getWindow promise before publishing so we don't miss the 342 342 // window-creation event if the command resolves faster than this test resumes. 343 - const hudWindowPromise = sharedApp.getWindow('ext/hud/hud.html', 5000); 343 + const hudWindowPromise = sharedApp.getWindow('hud/hud.html', 5000); 344 344 await sharedBgWindow.evaluate(async () => { 345 345 (window as any).app.publish('cmd:execute:hud', {}, (window as any).app.scopes.GLOBAL); 346 346 });
+5 -5
tests/desktop/localsearch.spec.ts
··· 45 45 // miss a fast creation (getWindow polls every 200ms and returns immediately 46 46 // when the window appears — the 15s cap handles the full lazy-load chain: 47 47 // background-tile launch → tile:ready → execute replay → tile:window:open). 48 - const windowPromise = sharedApp.getWindow('ext/lists/home.html', 15000); 48 + const windowPromise = sharedApp.getWindow('lists/home.html', 15000); 49 49 50 50 // Execute the lists command 51 51 await sharedBgWindow.evaluate(async () => { ··· 77 77 // Start waiting for the window BEFORE publishing the command so we don't 78 78 // miss a fast creation (getWindow polls every 200ms and returns immediately 79 79 // when the window appears). 80 - const windowPromise = sharedApp.getWindow('ext/lists/home.html', 15000); 80 + const windowPromise = sharedApp.getWindow('lists/home.html', 15000); 81 81 82 82 // Open lists window 83 83 await sharedBgWindow.evaluate(async () => { ··· 113 113 114 114 // Start waiting for the window BEFORE publishing the command so we don't 115 115 // miss a fast creation (getWindow polls every 200ms). 116 - const windowPromise = sharedApp.getWindow('ext/lists/home.html', 15000); 116 + const windowPromise = sharedApp.getWindow('lists/home.html', 15000); 117 117 118 118 // Open search window 119 119 await sharedBgWindow.evaluate(async () => { ··· 167 167 168 168 // Start waiting for the window BEFORE publishing the command so we don't 169 169 // miss a fast creation (getWindow polls every 200ms). 170 - const windowPromise = sharedApp.getWindow('ext/lists/home.html', 15000); 170 + const windowPromise = sharedApp.getWindow('lists/home.html', 15000); 171 171 172 172 // Open search window 173 173 await sharedBgWindow.evaluate(async () => { ··· 208 208 209 209 // Start waiting for the window BEFORE publishing the command so we don't 210 210 // miss a fast creation (getWindow polls every 200ms). 211 - const windowPromise = sharedApp.getWindow('ext/lists/home.html', 15000); 211 + const windowPromise = sharedApp.getWindow('lists/home.html', 15000); 212 212 213 213 // Open search window 214 214 await sharedBgWindow.evaluate(async () => {