(depth)
| 524 | }; |
| 525 | |
| 526 | const setDepth = async (depth) => { |
| 527 | await page.locator('[data-testid="atlas-twin-depth"]').fill(String(depth)); |
| 528 | await page.waitForFunction( |
| 529 | (expected) => |
| 530 | document.querySelector('[data-testid="atlas-twin-depth"]')?.value === String(expected), |
| 531 | depth, |
| 532 | { timeout: 10000 }, |
| 533 | ); |
| 534 | }; |
| 535 | |
| 536 | const pressGlobally = async (key) => { |
| 537 | await page.click('.atlas-brand'); |