chore: Run browser contract tests in CI. - #1001
Merged
Merged
Conversation
Contributor
|
@launchdarkly/browser size report |
Contributor
|
@launchdarkly/js-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk size report |
kinyoklion
marked this pull request as ready for review
November 15, 2025 00:00
kinyoklion
commented
Nov 15, 2025
kinyoklion
force-pushed
the
rlamb/browser-conrtact-tests
branch
from
November 18, 2025 19:35
05cb2df to
54348c8
Compare
kinyoklion
force-pushed
the
rlamb/browser-conrtact-tests
branch
from
November 18, 2025 19:37
54348c8 to
f7d755b
Compare
joker23
approved these changes
Nov 18, 2025
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.
This PR adds support for running the browser contract tests in CI. The browser contract tests need to run in a browser to ensure test efficacy and this is accomplished using playwright in CI.
Note
Adds CI steps to build, serve, and run browser contract tests via Playwright, plus supporting scripts/docs and Playwright dependency.
.github/workflows/browser.yml):browser-contract-test-adapterandbrowser-contract-test-service, start adapter/WebSocket and static server, wait for readiness, open headless Chromium, run contract tests vialaunchdarkly/contract-testsaction, and add failure logs/cleanup.packages/sdk/browser/contract-tests/):README.mddescribing architecture and local run instructions.open-browser.mjsto launch headless Chromium and stream console/errors.entity/package.json: addplaywrightdevDependency andinstall-playwright-browsersscript.Written by Cursor Bugbot for commit f7d755b. This will update automatically on new commits. Configure here.