test: stabilize rehearser phase fixture
This commit is contained in:
parent
d03c9841e9
commit
707892251b
@ -33,7 +33,7 @@ test('parses a screenplay and builds the cast', async ({ page }) => {
|
||||
await page.evaluate(() => window.navRehearserPhase(1));
|
||||
|
||||
// Go to the Cast tab area: paste a script and parse
|
||||
await page.waitForSelector('#reh-script-text', { timeout: 10_000 });
|
||||
await page.waitForSelector('#reh-script-text', { state: 'attached', timeout: 10_000 });
|
||||
await page.evaluate(() => window.navRehearserPhase(1));
|
||||
await expect(page.locator('#reh-script-text')).toBeVisible({ timeout: 10_000 });
|
||||
await page.fill('#reh-script-text', SCRIPT);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user