mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-04 05:50:47 -05:00
f3b67666a5
* fix: update the monorepo to typescript 5 * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * run ci to see problems [run ci] * update vue-tsc and typings that conflict with update * regen snapshot * fix typescript errors ui test as stack trace behavior has changed * fix server unit tests * update cy.origin() spec based on stack traces and code frames * update spec to include source map url * run ci * fix check-ts * chore: fix system tests [run ci] * add preprocessor tests to batteries included to exercise new logic * run ci * refactor unit tests to be a bit more dry * pin typescript to ~5.4 and adjust config to ignroe deprecations but keep importsNotUsedAsValues * add changelog entry * add fixme issue to stack trace mismatches inside evaled context * use import type webpack as webpack as a lib isn't actually invboked in the runner webpack config * fix system test as adding 4 lines of comments impacts the stack trace line 4 lines (duh) --------- Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Launcher
This package finds and launches browsers for each operating system.
Developing
The TypeScript source files are in lib folder.
To see browsers detected on your machine, just run:
node index.js
You can supply a list of binaries to test if they're browsers or not. Try running:
node index.js /bin/bash /usr/bin/chromium-browser
Testing
yarn workspace @packages/launcher test
Debugging
Uses debug to output debug log messages. To turn on, use
DEBUG=cypress:launcher:* yarn workspace @packages/launcher test
Verbose messages, including detailed stdout, are available under cypress-verbose:launcher:*.