test(manifold): smoke asserts dock rail, not removed particle wordmark
The default (Particle) view no longer renders the 'MEMLNaut' wordmark since the particle top bar became a heatmap strip; assert on the always- present 'Learning' dock drawer label instead so the smoke test reflects the current Console chrome.
This commit is contained in:
parent
9e59eb04ce
commit
9ad0b8b9a0
1 changed files with 4 additions and 2 deletions
|
|
@ -47,8 +47,10 @@ test('engine loads, spine propagates, console renders', async ({ page }) => {
|
||||||
// 3. Feedback runs without throwing.
|
// 3. Feedback runs without throwing.
|
||||||
await page.evaluate(() => window.__nisps!.thumbsDown());
|
await page.evaluate(() => window.__nisps!.thumbsDown());
|
||||||
|
|
||||||
// 4. The convertible Console rendered.
|
// 4. The convertible Console rendered (assert on the dock drawer rail, which
|
||||||
await expect(page.getByText('MEMLNaut')).toBeVisible();
|
// is always present — the old "MEMLNaut" wordmark only shows outside
|
||||||
|
// Particle mode now that the particle top bar is a heatmap strip).
|
||||||
|
await expect(page.getByText('Learning')).toBeVisible();
|
||||||
|
|
||||||
// 5. No "C15" anywhere in the rendered UI.
|
// 5. No "C15" anywhere in the rendered UI.
|
||||||
const body = await page.evaluate(() => document.body.innerText);
|
const body = await page.evaluate(() => document.body.innerText);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue