👷 Add pinned Firefox 119 + WebKit 17.4 e2e test runner without BrowserStack#4560
Draft
thomas-lebeau wants to merge 8 commits intov7from
Draft
👷 Add pinned Firefox 119 + WebKit 17.4 e2e test runner without BrowserStack#4560thomas-lebeau wants to merge 8 commits intov7from
thomas-lebeau wants to merge 8 commits intov7from
Conversation
…rStack - Add `playwright.pinned.config.ts` that boots a Playwright 1.40.1 `run-server` (which bundles FF 119 / WK 17.4) plus a translation proxy, and connects the current 1.58 client over wsEndpoint. - Add `scripts/pinned-proxy.mjs` to bridge the JSON-RPC schema gap between Playwright 1.58 and 1.40 (UA spoofing for the version check, patches to __create__ initializers and a few command params). - Add `test:e2e:pinned:init` / `test:e2e:pinned` scripts to install the pinned browsers locally and run the pinned matrix. - Ignore the local `test/e2e/.pinned-browsers/` install directory.
Make sure we navigate to a page on the same domain as the current domain, else webkit won't trigger exit events.
Firefox does not allow setting cookies from iframes without src, so the SDK won't start and these tests are not meaningful there.
|
✨ Fix all issues with BitsAI or with Cursor
|
Bundles Sizes Evolution
🚀 CPU Performance
🧠 Memory Performance
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Replicate the BrowserStack Firefox 119 + WebKit 17.4 coverage locally so we can keep running pinned-browser e2e tests without BrowserStack, and lay the groundwork for a CI eval loop that iterates on GitLab jobs autonomously.
Changes
e2e-pinnedGitLab job andtest:e2e:pinnedscript driven by a newplaywright.pinned.config.ts.run-serverplus a small translation proxy (test/e2e/scripts/pinned-proxy.mjs) so the current 1.58 client can talk to the older server.CURRENT_CI_IMAGEto 106.flushEventsso the flush works for pages served from custom domains (WebKit fix).iframe-without-srcsession cookie tests on Firefox.APPROACH.md.Test instructions
yarn test:e2e:pinned:initthenyarn test:e2e:pinnedlocally to run Firefox 119 + WebKit 17.4.e2e-pinnedjob runs green in GitLab on this branch.Checklist