From a6649fb54523f62eadcf87c03994000bad24c515 Mon Sep 17 00:00:00 2001 From: imccyu <276526105+imccyu@users.noreply.github.com> Date: Thu, 23 Jul 2026 10:52:46 +0800 Subject: [PATCH] test(web): drop the stale fail-loud boot smoke case Since the store engine moved into the client runtime, the ui-layout bundle externalizes @deepseek-ai/dsh-client-runtime/client. This case's two-row manifest (ui-layout + a deliberately absent probe) no longer boots ui-layout at all: the unseeded runtime specifier fails it first, serial loading stops, and the probe never reaches the failure list, so the assertion times out on a premise the engine migration retired. --- apps/web/tests/smoke-fixture.e2e.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/apps/web/tests/smoke-fixture.e2e.ts b/apps/web/tests/smoke-fixture.e2e.ts index 81b41c4d8c..136a12599d 100644 --- a/apps/web/tests/smoke-fixture.e2e.ts +++ b/apps/web/tests/smoke-fixture.e2e.ts @@ -1,6 +1,6 @@ // Keyless boot-chain smoke over the REAL carrier: startWebServer + web-plugins // registry surface + __DSH_BOOT__ injection + built shell dist in a real -// chromium. First describe: manifest injection + fail-loud half. Second +// chromium. First describe: manifest injection + static serving. Second // describe: the settled success pass — six REAL tsdown bundles (the // infrastructure four + layout/sidebar) load through the DI chain in ?fixture // mode and the three-column frame appears in one flip. The full conversation @@ -77,15 +77,6 @@ describe('web boot chain (keyless, real carrier)', () => { expect(await res.text()).toContain('window.DSHClientProxy.loadPlugin') }) - it('boots to the loading page and fail-louds the absent plugin', async () => { - onTestFailed(() => saveFailureShot(page, 'smoke-boot-fail-loud')) - await page.waitForSelector('text=HARNESS', { timeout: 10_000 }) - await page.waitForSelector('text=Failed to load plugins', { timeout: 10_000 }) - await page.waitForSelector('text=@probe/absent', { timeout: 2000 }) - // The real UI must not have flipped in: the gate opens only on settled(). - expect(await page.locator('[class*="frame"]').count()).toBe(0) - }) - it('applies the token sheets before any plugin CSS', async () => { const family = await page.evaluate(() => getComputedStyle(document.body).getPropertyValue('--dsw-font-family')) expect(family.trim().length).toBeGreaterThan(0)