Skip to content

Commit

Permalink
Resolve flaky playground test
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Jan 19, 2025
1 parent 1e30746 commit 90f0192
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ steps:
- snapshot: In my browser, the result of {js}
js: |-
// Only exists when the result data loads
let pinButton = await toolproof.querySelector(".result > code > button");
let title = await toolproof.querySelector(".result > code");
let pinButton = await toolproof.querySelector(".result:nth-of-type(1) > code > button");
let title = await toolproof.querySelector(".result:nth-of-type(1) > code");
return title.innerText;
snapshot_content: |-
Expand Down

0 comments on commit 90f0192

Please sign in to comment.