Commit Graph

20360 Commits

Author SHA1 Message Date
Mike McCready
6e81db720a chore(deps): update dependency cypress-example-kitchensink to v2.0.2 (#29058)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-03-12 10:55:45 -04:00
Jennifer Shehane
d55659c3c6 misc: update command message to truncate command info at 100 lines instead of 50 (#29032)
* misc: update command message to not truncate command info

* Just double the lines displayed

* changelog

* Update cli/CHANGELOG.md

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>

---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2024-03-11 15:24:18 -04:00
Matt Schile
cd4a23fa90 test: fix issue with electron in service-worker.cy.js (#29089) 2024-03-11 11:22:35 -04:00
Mike McCready
50ab49bbb0 docs(grep): correct support filename in README (#29106) 2024-03-11 11:05:01 -04:00
Bill Glesias
3383043c81 misc: capture the beforeTest timestamp in the app before sending it to protocol for a more accurate timestamp (#29061)
* chore: capture the beforeTest timestamp in the app before sending it to protocol for a more accurate timestamp [run ci]

* add change entry
2024-03-11 08:54:41 -04:00
renovate[bot]
adbefb6d8d dependency: update dependency jimp to v0.22.12 (#29055)
* fix(deps): update dependency jimp to v0.22.12

* changelog entry

* empty commit

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* remove reference to files that no longer exist

* Remove 'regeneratorRuntime' from allowList, this must have been removed from jimp

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-03-08 17:39:28 -05:00
Jennifer Shehane
96eab733d7 chore: unskip some tests that were previously flaky (#29037)
* chore: unskip some tests that were previously flaky

* empty commit

* skipping test again until this is investigated.
2024-03-08 11:33:32 -05:00
Cacie Prins
e78531820a fix: screenshot() times out when the main Cypress tab is not focused (#29038)
* activate main cypress tab before taking a screenshot

* new tests to cover page activation behavior

* updates changelog

* whitespace

* fix check-ts

* reduce extension failure timeout to 500ms to account for origin bridge timeout

* only use tab activation workaround in chrome; default to Page.bringToFront in headless mode

* update unit tests

* swap order of tests in 5016 system test

* some debugging to try and hunt down firefox issue

* rm debug prev added - looks like sys test passed that time?

* rm debug emit from v2 extension
2024-03-08 11:09:41 -05:00
github-actions[bot]
245fd97e99 chore: Update Chrome (beta) to 123.0.6312.28 (#29080)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-03-07 11:09:55 -05:00
github-actions[bot]
ba12d4126b chore: Update v8 snapshot cache (#29063)
* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-03-06 14:47:58 -05:00
Cacie Prins
006faaa3ae chore: additional context on protocol upload network errors (#28986)
* chore: add additional context to messaging when network errors occur in protocol uploads

* reduce total attempts for uploading capture artifacts from 8 to 3
2024-03-06 12:49:16 -05:00
github-actions[bot]
9a928b4355 chore: Update Chrome (stable) to 122.0.6261.111 (#29064)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-03-06 11:40:53 -05:00
Matt Schile
a29eae9260 perf: fix performance issue for service workers that don't handle requests (#28900) 2024-03-05 11:24:59 -07:00
Cacie Prins
19fe34992f chore: create direct dependency link between frontend-shared and data-context (#29045) 2024-03-04 10:35:09 -05:00
github-actions[bot]
092a7eb5e5 chore: Update v8 snapshot cache (#29047)
* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-03-04 10:12:21 -05:00
renovate[bot]
cdd7a7e10c dependency: update dependency signal-exit to v3.0.7 (#28979)
* fix(deps): update dependency signal-exit to v3.0.7

* Remove signal-exit - this is not used

* empty commit

* fix(deps): update dependency signal-exit to v3.0.7

* Update changelog

* Update cli/CHANGELOG.md

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2024-03-01 13:02:27 -05:00
github-actions[bot]
acc7055b76 chore: Update v8 snapshot cache (#29039)
* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-03-01 13:01:56 -05:00
github-actions[bot]
77e34b2009 chore: Update Chrome (beta) to 123.0.6312.22 (#29041)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-03-01 13:01:13 -05:00
github-actions[bot]
22aacb1a4c chore: Update v8 snapshot cache (#28998)
* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-29 15:27:54 -05:00
Andrii Chubatiuk
96362b49c1 dependency: upgraded http-proxy-middleware (#28902)
* fix: upgraded http-proxy-middleware

* add changelog entry

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-29 15:24:30 -05:00
github-actions[bot]
7a270ad2ab chore: Update Chrome (stable) to 122.0.6261.94 (#29028)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-02-28 10:00:55 -05:00
renovate[bot]
00092059b4 chore(deps): update dependency cypress-example-kitchensink to v2.0.1 (#29019)
* chore(deps): update dependency cypress-example-kitchensink to v2.0.1

* empty commit to trigger ci

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-27 16:03:35 -05:00
Teo Anastasiadis
5d42406610 fix: Disabled elements being clickable (#28807)
* fixes #28788 -- mouse.ts logic
If mouseUp element or mouseDown element or commonAncestor element is :disabled, click event should be prevented

* fixes #28788 -- e2e test
tests that no click events are registered when click happens on child of disabled element

* fixes #28788 -- mouse.ts logic
If mouseUp element or mouseDown element have an "actually disabled" parent, the click event should not be registered

* refactoring: minor name changes for readability

* fixes #24322 --added changelog entry

* Update packages/driver/src/cy/mouse.ts

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update packages/driver/cypress/e2e/commands/actions/click.cy.js

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update packages/driver/src/cy/mouse.ts

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update packages/driver/src/cy/mouse.ts

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* update mouse.ts -- unexpected token

* docs: moved entry to 13.6.5

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update packages/driver/cypress/e2e/commands/actions/click.cy.js

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update cli/CHANGELOG.md

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* lint: fixed 2 linting errors

565:1  error  Expected indentation of 8 spaces but found 10  indent
567:7  error  Expected blank line before this statement      padding-line-between-statements

* style: removed trailing space

567:1  error  Trailing spaces not allowed  no-trailing-spaces

* Update CHANGELOG.md

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
2024-02-27 11:51:44 -05:00
Teo Anastasiadis
3e5fabce2c fix: Boolean and null literals should be considered valid request bodies (#28835)
* fix(types): RequestBody type should be able to accept booleans and null values, which are all valid JSON literals

* refactor: boolean literals are valid JSON objects. Null values should also be considered valid when explicitly passed to the request function.

* refactor: body is explicitly defined when passed as positional argument or when supplied through the options object

* test: JSON literals should be parsed as valid JSON and set json=true

* docs: issue reference

* fix: boolean and null literal should be send to request promise as strings

* docs: fixes #28789 -- added issue reference

* test: tests proper conversion of JSON literals to strings.

* docs: added isssue reference

* docs: fixes #28789 -- changelog entry

* refactor: change isValidJsonObj to isValidBody

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* refactor: change isValidJsonObj to isValidBody

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* refactor: use lodash utils

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update cli/CHANGELOG.md

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* docs: moved entry to 13.6.5

* docs: fixed changelog entry

* Update CHANGELOG.md

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-23 16:11:18 -05:00
github-actions[bot]
f3348bcb75 chore: Update Chrome (stable) to 122.0.6261.69 and Chrome (beta) to 123.0.6312.4 (#28990)
* chore: Update Chrome (beta) to 123.0.6312.4

* chore: Update Chrome (stable) to 122.0.6261.69 and Chrome (beta) to 123.0.6312.4

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-23 11:37:29 -05:00
Jennifer Shehane
cdf2f93ed5 chore: check config file page is visible before checking contents of scaffolded configFile to address flake (#28993)
* chore: add a guard to check that the configuration files page is visible before checking the contents of scaffolded config file

* empty commit
2024-02-22 16:41:15 -05:00
Bill Glesias
9dfb38f574 chore: release 13.6.6 (#28996) v13.6.6 2024-02-22 14:43:59 -05:00
Bill Glesias
c1304b2775 fix: avoid ANSI character output when running the binary smoke test f… (#28994) 2024-02-22 14:29:49 -05:00
Jennifer Shehane
c3cbe6fc14 chore: fix flaky debug progress test (#28958)
* chore: fix flaky debug progress test

* empty commit
2024-02-22 11:24:37 -05:00
Jennifer Shehane
3cfca89ded test: Add commands to wait for config page to load before continue with test - address flaky test (#28953) 2024-02-22 11:15:56 -05:00
Jennifer Shehane
e7d13cf5d0 test: update scaffold CT test to not have chaining that will cause detached dom flake (#28960)
* chore: update test to not have chaining that will cause detached dom flake

* empty commit
2024-02-22 10:23:34 -05:00
github-actions[bot]
c3e1120e1a chore: Update Chrome (stable) to 122.0.6261.57 and Chrome (beta) to 122.0.6261.57 (#28980)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-02-21 15:27:21 -05:00
Jennifer Shehane
92d258274d chore: Delete gitignore for server (#28977)
* chore: Delete gitignore for server

* empty commit
2024-02-20 19:54:46 -05:00
Bill Glesias
3a8f830228 chore: bump changelog and package.json version (#28978) v13.6.5 2024-02-20 13:28:49 -05:00
semantic-release-bot
5411b920f3 chore: release @cypress/puppeteer-v0.1.3
[skip ci]
@cypress/puppeteer-v0.1.3
2024-02-20 13:12:19 -05:00
Cacie Prins
ed2fc13946 fix: move main tab activation to puppeteer plugin (#28898)
* fix: move main tab activation to puppeteer plugin

* tests for new url functionality in v3 extension

* tests for activateMainTab

* tests

* cleanup

* add troubleshooting to puppeteer plugin readme re: chrome extension

* changelog

* no longer attempts to activate main tab in run mode

* Update npm/puppeteer/README.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* Update cli/CHANGELOG.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-20 11:28:31 -05:00
github-actions[bot]
1f0a9d565e chore: Update v8 snapshot cache (#28973)
* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-02-20 09:50:49 -06:00
Joshua D'Souza
2f86203cee misc: Replacing LayerCI references with webapp.io (finishing previous PR) (#28874)
* Replacing LayerCI references with webapp.io

* Update CI params exposed from webapp.io and add EXPOSE_WEBSITE_HOST

* Adding misc to changelog references changes from LayerCI to webappio

* Removing EXPOSE_WEBSITE_HOST

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-19 13:25:56 -05:00
renovate[bot]
6da53d4dca dependency: update dependency duplexify to v4.1.2 (#28941)
* fix(deps): update dependency duplexify to v4.1.2

* changelog entry

* Fix incorrect link in changelog

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-19 11:27:54 -05:00
renovate[bot]
ddf8764f72 chore: update dependency cross-fetch to ^3.1.8 (#28940)
* fix(deps): update dependency cross-fetch to ^3.1.8

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-19 11:27:40 -05:00
Mike McCready
ad99300a5f docs: fix anchor link to changelog 13.6.3 (#28957) 2024-02-16 09:42:11 -05:00
github-actions[bot]
333d2a1a98 chore: Update v8 snapshot cache (#28954)
* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-02-16 07:48:39 -06:00
Cacie Prins
2251f2d645 chore: rm electron-27 branch from publish binary script (#28951) 2024-02-15 13:38:12 -05:00
github-actions[bot]
6bc8981b94 chore: Update Chrome (beta) to 122.0.6261.39 (#28947)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-02-15 13:30:59 -05:00
Jennifer Shehane
a0b2d1e912 fix: Add existential operators to properties before calling split in processBrowserPreRequest (#28952)
* fix: Add existential operators to properties before calling split

* empty commit

* changelog entry

* Add note about regression

* remove duplicate dep in changelog

* Add link to issue

* Update packages/proxy/lib/http/util/service-worker-manager.ts

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Update packages/proxy/lib/http/util/service-worker-manager.ts

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2024-02-15 13:29:40 -05:00
Bill Glesias
0ea72a4c62 chore: disable live reloading inside cypress component tests [run ci] (#28908) 2024-02-15 11:57:55 -05:00
Cacie Prins
3288aa5069 chore(dependency): Upgrade Electron 27 (#28792)
* dependency: upgrades electron from 25 to 26

* bump cache run ci

* fix docker img names

* ref electron upgrade branch

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* debug

* debug

* debug

* update search string for resize observer error swallow

* debug

* update integrity check

* update electron readme with upgrade troubleshooting section

* point to new publish binary workflow branch for electron 27

* update electron readme with locations of chromium & node versions for a given electron version

* update node versions and docker image refs

* update electron version to 27.1.3

* fix db nativeBinding arg

* chore: updating v8 snapshot cache

* install setuptools on mac when updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* run workflows on this branch run ci

* require addon directly and pass to better-sqlite3 init; debug

* rm debug

* try loading better-sqlite with a more dynamic filename

* bump electron version

* bump electron version

* bump electron version -- run ci

* bump electron version -- run ci

* bump electron version -- run ci

* bump electron version -- run ci

* bump electron version -- run ci

* add a step to update workflows.yml to electron upgrade process

* reduce retry limit on issue 1244 test to prevent circle from thinking tests have hanged

* target main branch of binary publish workflow? run ci

* Update .node-version -- run ci

* Update CHANGELOG.md

* Update module_api_spec.ts

* point publish binary back to electron upgrade branch

* Adds some logging re: cachedDataVersion

* use precise electron version for better-sqlite3 for centos7

* Update CHANGELOG.md

* chore: fix issue with bytenode (#28568)

* fix jsc for 27 -- run ci

* Update smoke.js

* fix build

* update electron upgrade steps

* Update packages/electron/README.md

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

* Update cli/CHANGELOG.md

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

* fix DebugEmptyStates component test

* try to fix downstream build -- run ci (#28649)

Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>

* point to consolidated binary publish branch

* revert webpack-preprocessor-awesome-typescript-loader update

* revert certain system tests

* increase padding for module api system test duration window

* account for differing screenshot sizes

* screenshot size differs locally vs ci

* update protocol snapshots

* Update after-pack-hook.js

* fix flaky slideshow

* correct the chromium version in changelog

* use 18.17.1 internal images

* workflow filters

* fix trailing checkbox in electron readme

* add solution to crashing better-sqlite3 in electron readme

* Update packages/electron/README.md

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update scripts/after-pack-hook.js

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Update scripts/after-pack-hook.js

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Update scripts/after-pack-hook.js

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* add branch to setup_should_persist_artifacts

* debug app e2e test

* bump cache

* upgrade browsers-internal to chrome 121

* revert to chrome 118 images

* bump cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* bump cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2024-02-15 10:33:51 -05:00
renovate[bot]
e0255f99c2 dependency: update dependency buffer to ^5.7.1 (#28934)
* fix(deps): update dependency buffer to ^5.7.1

* empty commit

* add changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-14 13:11:35 -05:00
renovate[bot]
fcf73c7c6b dependency: update dependency is-ci to ^3.0.1 (#28933)
* fix(deps): update dependency is-ci to ^3.0.1

* fix: add changelog entry

* whoops, wrong changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-02-14 13:10:25 -05:00
github-actions[bot]
461b2ab699 chore: Update Chrome (stable) to 121.0.6167.184 (#28937)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-02-14 13:10:09 -05:00