potiuk opened a new pull request, #73872: URL: https://github.com/apache/airflow/pull/73872
The e2e global setup logs in with `config.projects[0]` — always the Chromium project — even when the run is narrowed with `--project firefox` / `--project webkit` (`config.projects` lists every project regardless of `--project`). Only the selected browser is installed for those runs: by `breeze testing ui-e2e-tests --browser <name>`, and, since #73183, by the CI workflow too. So the Firefox and WebKit jobs fail at `browserType.launch` with a missing `chrome-headless-shell`, and every test then fails on the missing `.auth/user.json` (seen e.g. on #73852). Breeze now exports the selected browser as `TEST_BROWSER`, and global setup logs in with the matching project, falling back to the first project for `--browser all` and non-breeze runs. Checked locally: ESLint and Prettier are clean on `global-setup.ts`, and ruff is clean on the breeze change. `tsc -p tsconfig.dev.json` reports no new errors (the 3 in `global-setup.ts` were there before). The command has no unit tests; this PR's own Firefox/WebKit e2e jobs are the verification. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Code (Opus 5.5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
