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.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// Keyless boot-chain smoke over the REAL carrier: startWebServer + web-plugins
|
// Keyless boot-chain smoke over the REAL carrier: startWebServer + web-plugins
|
||||||
// registry surface + __DSH_BOOT__ injection + built shell dist in a real
|
// 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
|
// describe: the settled success pass — six REAL tsdown bundles (the
|
||||||
// infrastructure four + layout/sidebar) load through the DI chain in ?fixture
|
// infrastructure four + layout/sidebar) load through the DI chain in ?fixture
|
||||||
// mode and the three-column frame appears in one flip. The full conversation
|
// 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')
|
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 () => {
|
it('applies the token sheets before any plugin CSS', async () => {
|
||||||
const family = await page.evaluate(() => getComputedStyle(document.body).getPropertyValue('--dsw-font-family'))
|
const family = await page.evaluate(() => getComputedStyle(document.body).getPropertyValue('--dsw-font-family'))
|
||||||
expect(family.trim().length).toBeGreaterThan(0)
|
expect(family.trim().length).toBeGreaterThan(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user