Skip to content

Commit 99e2cf3

Browse files
committed
chore: updates test
1 parent 4fa7569 commit 99e2cf3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/uploads/e2e.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,8 @@ describe('Uploads', () => {
518518

519519
const loadFromFileButton = page.locator('#load-from-file-upload-button')
520520
await loadFromFileButton.click()
521+
await wait(1000)
522+
await page.waitForSelector('button#action-save')
521523
await page.locator('#action-save').click()
522524
await expect(page.locator('.payload-toast-container')).toContainText('successfully')
523525
})
@@ -527,6 +529,8 @@ describe('Uploads', () => {
527529

528530
const loadFromUrlButton = page.locator('#load-from-url-upload-button')
529531
await loadFromUrlButton.click()
532+
await wait(1000)
533+
await page.waitForSelector('button#action-save')
530534
await page.locator('#action-save').click()
531535
await expect(page.locator('.payload-toast-container')).toContainText('successfully')
532536
})

0 commit comments

Comments
 (0)