dify/e2e/support/agent-configure.ts
yyh 1ae2f95f7c
test(e2e): add agent v2 core coverage (#38209)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-02 06:18:38 +00:00

9 lines
268 B
TypeScript

import type { Page } from '@playwright/test'
import { expect } from '@playwright/test'
export async function waitForAgentConfigureAutosaved(page: Page) {
await expect(
page.getByRole('status', { name: /Saved/i }).first(),
).toBeVisible({ timeout: 30_000 })
}