mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
test: remove checking duration in github reporter to reduce flakiness
This commit is contained in:
parent
e859a6996a
commit
f4cbd9d574
@ -82,7 +82,7 @@ test('print GitHub annotations for slow tests', async ({ runInlineTest }) => {
|
||||
`
|
||||
}, { retries: 3, reporter: 'github' }, { GITHUB_ACTION: 'true', GITHUB_WORKSPACE: '' });
|
||||
const text = stripAscii(result.output);
|
||||
expect(text).toContain('::warning title=Slow Test,file=a.test.js::a.test.js took 2');
|
||||
expect(text).toContain('::warning title=Slow Test,file=a.test.js::a.test.js took');
|
||||
expect(text).toContain('::notice title=🎭 Playwright Run Summary::%0A 1 passed');
|
||||
expect(result.exitCode).toBe(0);
|
||||
});
|
Loading…
Reference in New Issue
Block a user