mirror of
https://github.com/iflytek/skillhub.git
synced 2026-11-16 09:21:18 +00:00
test(web): match the exact update action in prefill flow
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
This commit is contained in:
parent
b446e300a8
commit
4413db5304
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ test.describe('My Skills Update Prefill (Real API)', () => {
|
|||
has: page.getByRole('heading', { name: skillName, exact: true }),
|
||||
}).first()
|
||||
await expect(skillCard).toBeVisible()
|
||||
await skillCard.getByRole('button', { name: 'Update' }).click()
|
||||
await skillCard.getByRole('button', { name: 'Update', exact: true }).click()
|
||||
|
||||
await expect(page).toHaveURL(/\/dashboard\/publish/)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue