mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-11 03:37:57 +00:00
test(e2e): relax publish navigation check
This commit is contained in:
parent
cc8b56e26c
commit
4d67403e59
1 changed files with 2 additions and 2 deletions
|
|
@ -40,8 +40,8 @@ test.describe('Publish Flow UI (Real API)', () => {
|
|||
await expect(confirmButton).toBeEnabled()
|
||||
await confirmButton.click()
|
||||
|
||||
await expect(page).toHaveURL(/\/dashboard\/skills$/, { timeout: 90_000 })
|
||||
await expect(page.getByRole('heading', { name: 'My Skills' })).toBeVisible({ timeout: 90_000 })
|
||||
const toastTitle = page.getByText(/Published Successfully|Submitted for Review/)
|
||||
await expect(toastTitle).toBeVisible({ timeout: 90_000 })
|
||||
} finally {
|
||||
await builder.cleanup()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue