Explorar o código

test(web): hold the theme bundle during boot

imccyu hai 1 mes
pai
achega
3c2d2d3cc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/web/tests/settings-chrome.e2e.ts

+ 1 - 1
apps/web/tests/settings-chrome.e2e.ts

@@ -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) => {