mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-12 11:50:22 +03:00
test: fix pause.spec on tracing bots (#14766)
This commit is contained in:
parent
833d332fa3
commit
e4c60d47b1
@ -32,7 +32,9 @@ it('should resume when closing inspector', async ({ page, recorderPageGetter, cl
|
||||
it.describe('pause', () => {
|
||||
it.skip(({ mode }) => mode !== 'default');
|
||||
|
||||
it.afterEach(async ({ recorderPageGetter }) => {
|
||||
it.afterEach(async ({ recorderPageGetter }, testInfo) => {
|
||||
if (testInfo.status === 'skipped')
|
||||
return;
|
||||
try {
|
||||
const recorderPage = await recorderPageGetter();
|
||||
recorderPage.click('[title=Resume]').catch(() => {});
|
||||
|
Loading…
Reference in New Issue
Block a user