* feat: Selective CSP header directive stripping from HTTPResponse
- uses `stripCspDirectives` config option
* feat: Selective CSP header directive permission from HTTPResponse
- uses `experimentalCspAllowList` config option
* Address Review Comments:
- Add i18n for `experimentalCspAllowList`
- Remove PR link in changelog
- Fix docs link in changelog
- Remove extra typedef additions
- Update validation error message and snapshot
- Fix middleware negated conditional
* chore: refactor driver test into system tests to get better test
coverage on experimentalCspAllowList options
* Address Review Comments:
- Remove legacyOption for `experimentalCspAllowList`
- Update App desc for `experimentalCspAllowList` to include "Content-Security-Policy-Report-Only"
- Modify CHANGELOG wording
- Specify “never” overrideLevel
- Remove unused validator (+2 squashed commits)
- Add "Addresses" note in CHANGELOG to satisfy automation
- Set `canUpdateDuringTestTime` to `false` to prevent confusion
* chore: Add `frame-src` and `child-src` to conditional CSP directives
* chore: Rename `isSubsetOf` to `isArrayIncludingAny`
* chore: fix CLI linting types
* chore: fix server unit tests
* chore: fix system tests within firefox and webkit
* chore: add form-action test
* chore: update system test snapshots
* chore: skip tests in webkit due to form-action flakiness
* chore: Move 'sandbox' and 'navigate-to' into `unsupportedCSPDirectives`
- Add additional system tests
- Update snapshots and unit test
* chore: update system test snapshots
* chore: fix system tests
* chore: do not run csp tests within firefox or webkit due to flake issues in CI
* chore: attempt to increase intercept delay to avoid race condition
* chore: update new snapshots with video defaults work
* chore: update changelog
---------
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
* chore: allow users to pass true to videoCompression config and only allow valudes 1-51 inclusively to be passed in
* run ci
* chore: allow zero to be option for CRF as we will coerve it to false and skip compression to have a lossless video, which has the same effect
* Update cli/CHANGELOG.md
* chore: update videoCompression types
* chore: update changelog
* Update cli/CHANGELOG.md
* Update cli/types/cypress.d.ts
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* Update packages/config/src/validation.ts
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* chore: update config snapshots
* Update packages/config/test/validation.spec.ts
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* chore: add system test on videoCompression=true coersion
* chore: document 0 as being false and not a valid CRF option for cypress video compression and make CRF valid values 1-51
* chore: fix types
* chore: fix types
* chore: fix change to log as feature and not bugfix
* chore: fix server side unit tests
---------
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* chore: remove old performance reporting
* remove libhoney dep
* try this
* build and build snapshots if deps are out of date
* foiled by a comma
* freaking comma
* no snapshots maybe ugh
* ignore engines instead
* don't need this
* remove rename support file step
* Revert "fix: correctly resolve dependencies for CT onboarding when using Yarn Plug n Play (#26452)"
This reverts commit 7a33f5c1a8.
* changelog
* changelog
* chore: disable video compression
* system test updates
* moar system test fixes
* a couple of telemetry tweaks
* more intelligent defaults, don't touch firefox.
* trying this
* probably finally fix firefox system tests
* unformat plz
* ugh, also add a test
* plz stop formatting that file
* re-enable firefox tests
* Change log
* don't save videos to artifacts
* this will be fixed in another pr
* quoth the raven, quotes matter don't mess them up
* patch resolve package and use corret path for Yarn PnP module resolution
* add test
* fix logic
* changelog
* log
* Add link to pnp docs
* recursively search upwards for pnp.cjs
* use require.resolve no matter what
---------
Co-authored-by: Mike Plummer <mikep@cypress.io>
* add test project
* styles
* pass resolvedBaseUrl
* make project more minimal
* build binaries
* changelog
* remove css
* pass supportedBrowsers to next webpack config
* handle case of missing getSupportedBrowsers function
* add default function
* fix: Do not magically mutate the user preferences when auto scroll behavior is disabled when a user scrolls or clicks inside the reporter or opens user preferences. Users must explicitly toggle auto-scroll on/off inside the user preferences menu and any implicit behavior will be overidden when this configuration value is set.
* [run ci]
* chore: add CHANGELOG entry
* Update cli/CHANGELOG.md
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* chore: move bugfix to 12.8.1 in changelog
* chore: remove issue 25084 from fix
* chore: rename autoScrollingUnderUserPreference to autoScrollingUserPref
* empty
* Update packages/reporter/src/lib/events.ts
Co-authored-by: Mark Noonan <mark@cypress.io>
* test: add cy-in-cy regression test to make sure auto scroll is not implicitly turned off
* chore: update changelog entry to include #26113
* Update system-tests/projects/cypress-in-cypress/cypress/e2e/dom-content-scrollable-commands.spec.js
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* chore: update the specs list app test since we have added a new cy-in-cy test
* chore: update the specChange-subscription tests
* Update CHANGELOG.md
* chore: update missed assertion update in spec change subscription
---------
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
* WIP find a way to resolve dependencies that does not rely on exports
* use `resolvePackagePath` package
* revert schema changes
* something is going on with Percy
* remove loc
* feedback
* upgrade vite react plugin
* update yarn lock
* fix unit test
* chore: discover CT community definitions in monorepos with hoisted dependencies
* [run ci]
* use find-up v5 because cjs
* delete solid yarn lock [run ci]
* improve repo root detection [run ci]
* [run ci]
* add some unit tests
* update comments
* update links
* use os.tmpdir
* add test for monorepo third-party dependency resolution
* add changelog entry
* add e2e test
* fix paths for windows
---------
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* fix(angular): mount cy-root in original location
* correctly fix insertRootElement to preserves html hierarchy, trim system-tests
---------
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* testing: try disabling uTimesSync and see what happens
* build binaries [run ci]
* fix: touch component index file instead of browser.js
* build binaries [run ci]
* update test
* fix test
* add test for custom HTML file in config
* use existing component index in webpack-dev-server unit tests
---------
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>