完成50%
This commit is contained in:
@@ -47,7 +47,7 @@ const waitFor = async (send, expression, message) => {
|
||||
|
||||
const run = async () => {
|
||||
const { socket, send } = await connect()
|
||||
const url = `${origin}/?f10RuntimeAudit=${Date.now()}#/pages/family/f10-video-list`
|
||||
const url = `${origin}/?f10RuntimeAudit=${Date.now()}#/pages/family/f10-video-list?genealogyId=1001`
|
||||
|
||||
try {
|
||||
await send('Page.enable')
|
||||
@@ -63,6 +63,7 @@ const run = async () => {
|
||||
|
||||
await send('Runtime.evaluate', { expression: "document.querySelector('.video-return-action')?.click()" })
|
||||
await waitFor(send, "location.hash.startsWith('#/pages/family/f01-family-feed')", 'F10 did not return to F01')
|
||||
await waitFor(send, "location.hash.includes('genealogyId=1001')", 'F10 dropped the genealogy identity on return')
|
||||
await waitFor(send, "Boolean(document.querySelector('.feed-state--list'))", 'F01 did not render after F10 return')
|
||||
|
||||
process.stdout.write('F10-VIDEO-STATUS-RUNTIME-SMOKE PASS\n')
|
||||
|
||||
Reference in New Issue
Block a user