mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-31 03:29:43 -06:00
* add experimental feature for sameSite * allow experimental descriptions to render markdown * sameSite support mostly working * also strip sameSite from setCookie yielded value * don't use `unspecified` - let browser set default * add tests * decaffeinate: Rename cdp_automation_spec.coffee from .coffee to .js * decaffeinate: Convert cdp_automation_spec.coffee to JS * decaffeinate: Run post-processing cleanups on cdp_automation_spec.coffee * cleanup cdp_automation_spec.ts * update unit tests * update settings_spec to not render as markdown * user-friendly error for insecure SameSite=None * fix styling * fix markdown renderer * wip: reproduce samesite conditions in e2e test * use tough-cookie@4.0.0 from git not on NPM yet, see issue: https://github.com/salesforce/tough-cookie/issues/182 * add more samesite proxy tests * update types + schema * run 2_cookies_spec also with forced samesite * use undefined not no_restriction * properly detect unspecified SameSite attribute * update snapshot * don't send sameSite on getAll calls * don't omit null/undefined props in automation * update comment * clean up SetCookieRequest logic * fix tests * fix unit test * update yarn.lock * rebalance e2e tests
Extension
This is the WebExtension responsible for automating the browser
Developing
Watching
yarn lerna run watch --scope @packages/extension --stream
Building
yarn lerna run build --scope @packages/extension --stream
Testing
yarn lerna run test --scope @packages/extension --stream
yarn lerna run test-watch --scope @packages/extension --stream
yarn lerna run test-debug --scope @packages/extension --stream
Debugging
In Chrome
- Open Chrome
- Go into Extensions
- Check Developer Mode
- Click Load unpacked extension...
- Choose packages/extension/dist directory
- Click background page to debug
background.js - Click Reload (⌘R) to pull in changes to
manifest.json
In Firefox
To be written...