Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test(bidi): install libavcodec in CI for Firefox (#41736)
Holger Benl696225c6ca29
diff --git a/.github/workflows/tests_bidi.yml b/.github/workflows/tests_bidi.ymlindex 1bda2bacf9..b11400d438 100644--- a/.github/workflows/tests_bidi.yml+++ b/.github/workflows/tests_bidi.yml@@ -55,6 +55,8 @@ jobs:- run: npx playwright install --with-deps chromium- if: matrix.channel == 'moz-firefox-nightly'run: |+ sudo apt-get update+ sudo apt-get install -y libavcodec60echo "BIDI_FFPATH=$(npx -y @puppeteer/browsers install firefox@nightly | tail -n1 | sed 's/^[^ ]* *//')" >> "$GITHUB_ENV"- name: Run testsrun: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run biditest -- --retries=${{ matrix.isPullRequest && 2 || 0 }} --project=${{ matrix.channel }}*diff --git a/tests/bidi/expectations/moz-firefox-nightly-library.txt b/tests/bidi/expectations/moz-firefox-nightly-library.txtindex e1fab0a7e2..e13c5d5e14 100644--- a/tests/bidi/expectations/moz-firefox-nightly-library.txt+++ b/tests/bidi/expectations/moz-firefox-nightly-library.txt@@ -63,7 +63,6 @@ library/browsertype-connect.spec.ts › run-server › should save download [failibrary/browsertype-connect.spec.ts › run-server › should upload a folder [fail]library/browsertype-launch.spec.ts › should reject if launched browser fails immediately [fail]library/capabilities.spec.ts › SharedArrayBuffer should work @smoke [timeout]-library/capabilities.spec.ts › should play video @smoke [timeout]library/channels.spec.ts › should work with the domain module [timeout]library/chromium/chromium.spec.ts › PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS=1 › serviceWorker(), and fromServiceWorker() work [timeout]library/chromium/chromium.spec.ts › PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS=1 › setExtraHTTPHeaders [timeout]