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.
Asana Task/Github Issue: N/A
Description
Consolidates Playwright test server configurations by:
altServerPortfixture and its associated per-test forked server.webServerinstance, leveraging different hosts (localhostand127.0.0.1) on the same port for first-party separation.injected/scripts/server.mjs.This streamlines the test setup and removes redundant server logic introduced during the Playwright migration.
Testing Steps
npm run buildand ensureinjectedunit tests pass.npm run test-int-x -- --project chrome-mv3 --grep "Fingerprint"and ensure fingerprint Playwright tests pass.Checklist
Please tick all that apply:
Note
Centralizes Playwright server port/base URL, removes the per-test forked server/altServerPort fixture, updates fingerprint tests to use a single webServer on one port across hosts, and deletes the obsolete server script.
TEST_PAGE_SERVER_PORTandTEST_PAGE_SERVER_BASE_URLininjected/playwright.config.js; setwebServer.portanduse.baseURLaccordingly.altServerPortfixture and per-test forked server fromintegration-test/helpers/harness.jsand deletescripts/server.mjs.integration-test/fingerprint.spec.js):TEST_PAGE_SERVER_PORTand a single PlaywrightwebServer; test vialocalhostand127.0.0.1on the same port.altServerPortusage and related logging; minor refactors to test setup.Written by Cursor Bugbot for commit fd7b66f. This will update automatically on new commits. Configure here.