mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: decrease threshold for flaky "should play audio" (#11878)
This commit is contained in:
parent
af4944388f
commit
1503264aca
@ -92,7 +92,7 @@ it('should play audio #smoke', async ({ page, server, browserName, platform }) =
|
||||
await page.$eval('audio', e => e.play());
|
||||
await page.waitForTimeout(1000);
|
||||
await page.$eval('audio', e => e.pause());
|
||||
expect(await page.$eval('audio', e => e.currentTime)).toBeGreaterThan(0.5);
|
||||
expect(await page.$eval('audio', e => e.currentTime)).toBeGreaterThan(0.2);
|
||||
});
|
||||
|
||||
it('should support webgl #smoke', async ({ page, browserName, headless }) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user