test(web): hold the theme bundle during boot

This commit is contained in:
imccyu committed 2026-08-18 01:50:23 +08:00
1 parent e0e529547b
commit 3c2d2d3cc9
1 file changed
+1 -1
+1 -1
View File
@@ -191,7 +191,7 @@ describe('web e2e: settings modal and General preferences', () => {
await page.keyboard.press('Escape')
// Hold real plugin bundles so the shell-owned loading page remains observable.
const pluginPattern = '**/plugins/**'
const pluginPattern = /\/plugins\/@deepseek-ai\/dsh-client-ui-theme\/client\.js(?:\?.*)?$/
let releaseBundles = (): void => {}
const bundlesReleased = new Promise<void>((resolve) => { releaseBundles = resolve })
await page.route(pluginPattern, async (route) => {