fix: harden explore dataset collection
This commit is contained in:
@@ -415,7 +415,9 @@ const editSourceModalCheck = await page.evaluate(() => ({
|
||||
}))
|
||||
await page.locator('.explore-source-modal input').first().fill('手动整理')
|
||||
await page.locator('.explore-source-modal .arco-modal-footer .arco-btn-primary').click()
|
||||
const editedSourceVisible = await page.locator('.explore-source-card', { hasText: '手动整理' }).count() === 1
|
||||
const editedSourceCard = page.locator('.explore-source-card', { hasText: '手动整理' })
|
||||
await editedSourceCard.waitFor({ state: 'visible' })
|
||||
const editedSourceVisible = await editedSourceCard.count() === 1
|
||||
|
||||
await page.locator('.project-button').first().click()
|
||||
await page.waitForTimeout(500)
|
||||
|
||||
Reference in New Issue
Block a user