Skip to content

Commit

Permalink
prompt 3 layers when found
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrobdolby committed Nov 7, 2024
1 parent ca9a542 commit 9bb1e9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export async function viewerSelectLayer(
await getListOfActorsEvents(scenarioWorld,actor)
await waitForEventLayers(scenarioWorld,actor)

console.log(await getListOfActorsEvents(scenarioWorld,actor))
await runStep([
`the ${actor} switch to the "Viewer" app`,
`the ${actor} executes the "window.millicastView.select({encodingId:"${encodingId}"})" JavaScript function on the page`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ export async function waitForEventLayers(scenarioWorld: ScenarioWorld, actor: st
if(myEvent["name"] === "layers" && myEvent["data"]["medias"]["0"]["layers"].length === 3) {
eventPresent = true
console.log("3 Layers Found")
console.log("Layers content: "+myEvent["data"]["medias"]["0"]["layers"])
}
} return(eventPresent) as boolean
}
return(eventPresent) as boolean
}
await retryUntilTrue(verifyMethod, 20)
}
Expand Down

0 comments on commit 9bb1e9b

Please sign in to comment.