Bring the browser tests up to date
- automation: pin the fixture to 120 frames; a blank document is 48 now, and the drags measure frames as fractions of a 120-frame ruler. - lane: create from the timeline's symbol/lane buttons, skip the palette lane when looking for lanes and rename buttons, and expect a lane's rename on its symbol. - lane, peg: wait out the page reloading under the first probes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4b780f9e91
commit
b2b6af8f26
3 changed files with 27 additions and 21 deletions
|
|
@ -62,7 +62,9 @@ try {
|
|||
await send('Runtime.enable');
|
||||
await send('Page.enable');
|
||||
for (let i = 0; i < 160; i++) {
|
||||
if (await evalJS('return !!(window.cljs && window.re_frame && window.arthur)')) break;
|
||||
// The page can reload under the first probes, which then have no context
|
||||
// to run in; that is not the page being broken, so wait it out.
|
||||
try { if (await evalJS('return !!(window.cljs && window.re_frame && window.arthur)')) break; } catch {}
|
||||
await sleep(250);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue