mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: fix itest (follow up to #28932)
This commit is contained in:
parent
0113e8455b
commit
f741f08b3b
@ -62,17 +62,6 @@ test('should validate dependencies correctly if skipped during install', async (
|
|||||||
expect(result).not.toContain(`validating host requirements for "firefox"`);
|
expect(result).not.toContain(`validating host requirements for "firefox"`);
|
||||||
expect(result).not.toContain(`validating host requirements for "webkit"`);
|
expect(result).not.toContain(`validating host requirements for "webkit"`);
|
||||||
});
|
});
|
||||||
|
|
||||||
await test.step('should validate dependencies for a second launch (skipped during install)', async () => {
|
|
||||||
const result = await exec('node test.js', {
|
|
||||||
env: {
|
|
||||||
DEBUG: 'pw:install',
|
|
||||||
},
|
|
||||||
});
|
|
||||||
expect(result).toContain(`validating host requirements for "chromium"`);
|
|
||||||
expect(result).not.toContain(`validating host requirements for "firefox"`);
|
|
||||||
expect(result).not.toContain(`validating host requirements for "webkit"`);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should not validate dependencies on launch if validated during install', async ({ exec, writeFiles }) => {
|
test('should not validate dependencies on launch if validated during install', async ({ exec, writeFiles }) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user