Skip to content

Commit 74fa209

Browse files
authored
test: skip flaky test (#77)
1 parent e8fb30c commit 74fa209

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/browser.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ import path from 'node:path';
1010
import {launch} from '../src/browser.js';
1111

1212
describe('browser', () => {
13-
it('cannot launch multiple times with the same profile', async () => {
13+
it('cannot launch multiple times with the same profile', async t => {
14+
if (os.platform() === 'win32' || os.platform() === 'linux') {
15+
t.skip(
16+
'Flaky on Windows and Ubuntu images in GitHub actions. Not able to reproduce locally (b/446864025)',
17+
);
18+
return;
19+
}
1420
const tmpDir = os.tmpdir();
1521
const folderPath = path.join(tmpDir, `temp-folder-${crypto.randomUUID()}`);
1622
const browser1 = await launch({

0 commit comments

Comments
 (0)