Use proper test timeout
This commit is contained in:
parent
f9d1b64927
commit
554fc7719c
|
|
@ -329,7 +329,7 @@ test('should print nice error when project is unknown', async ({ runInlineTest }
|
|||
|
||||
test('should print nice error when project is unknown and launching UI mode', async ({ runInlineTest }) => {
|
||||
// Prevent UI mode from opening and the test never finishing
|
||||
setTimeout(() => expect(false).toBeTruthy(), 30000);
|
||||
test.setTimeout(5000);
|
||||
const { output, exitCode } = await runInlineTest({
|
||||
'playwright.config.ts': `
|
||||
module.exports = { projects: [
|
||||
|
|
|
|||
Loading…
Reference in a new issue