fix(explorer): harden operations smoke test and surface note placement
Move extended token-list label to the operations intro, wait for network idle before asserting, and clear conflicting NO_COLOR/FORCE_COLOR in Playwright config. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,7 +27,8 @@ test.describe('Explorer sprint smoke', () => {
|
||||
})
|
||||
|
||||
test('operations hub loads extended token list note', async ({ page }) => {
|
||||
await page.goto(`${EXPLORER_URL}/operations`, { waitUntil: 'domcontentloaded', timeout: 20000 })
|
||||
await expect(page.getByText(/Extended Metamask dual-chain catalog/i)).toBeVisible({ timeout: 10000 })
|
||||
await page.goto(`${EXPLORER_URL}/operations`, { waitUntil: 'networkidle', timeout: 30000 })
|
||||
await expect(page.getByRole('heading', { name: /Operations Hub/i })).toBeVisible({ timeout: 10000 })
|
||||
await expect(page.getByText(/Extended Metamask dual-chain catalog/i).first()).toBeVisible({ timeout: 10000 })
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user