Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: unflake ui tests (3) (#22741)

Pavel Feldman70011c82f765
diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.yml
index 31c8e54a07..fdd2a5003a 100644
--- a/.github/workflows/tests_primary.yml
+++ b/.github/workflows/tests_primary.yml
@@ -104,8 +104,6 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [16]
include:
- - os: ubuntu-latest
- node-version: 14
- os: ubuntu-latest
node-version: 18
runs-on: ${{ matrix.os }}
diff --git a/tests/playwright-test/ui-mode-fixtures.ts b/tests/playwright-test/ui-mode-fixtures.ts
index 4b39d89655..ef46184ba6 100644
--- a/tests/playwright-test/ui-mode-fixtures.ts
+++ b/tests/playwright-test/ui-mode-fixtures.ts
@@ -125,7 +125,7 @@ export const test = base
});
import { expect as baseExpect } from './stable-test-runner';
-export const expect = baseExpect.configure({ timeout: 15000 });
+export const expect = baseExpect.configure({ timeout: 0 });
async function waitForLatch(latchFile: string) {
const fs = require('fs');
diff --git a/utils/limits.sh b/utils/limits.sh
new file mode 100644
index 0000000000..71baec19a4
--- /dev/null
+++ b/utils/limits.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+sudo sysctl -w fs.inotify.max_user_instances=1024