修改完成
This commit is contained in:
@@ -71,7 +71,11 @@ const run = async () => {
|
||||
await waitFor(send, "!document.querySelector('.album-preview')", 'F08 preview did not close')
|
||||
|
||||
await send('Runtime.evaluate', { expression: "document.querySelector('.album-upload-action')?.click()" })
|
||||
await waitFor(send, "Boolean(document.querySelector('.app-toast'))", 'F08 upload notice did not render')
|
||||
await waitFor(
|
||||
send,
|
||||
"location.href.includes('/pages/family/f09-media-upload?albumId=reunion')",
|
||||
'F08 upload action did not carry the current album into F09'
|
||||
)
|
||||
|
||||
await navigate('/pages/family/f08-album-detail?state=empty', '.album-state--empty')
|
||||
assert.strictEqual(await valueOf(send, "document.querySelectorAll('.album-photo-tile').length"), 0, 'F08 empty state must not render photos')
|
||||
|
||||
Reference in New Issue
Block a user