Commit Graph

20783 Commits

Author SHA1 Message Date
Bill Glesias eed699eb6d chore: update lerna to 8.1.8 from 6.6.2 (#30436)
* fix sync script with updateds npm-packlist

* chore: update lerna from 6.6.2 to 8.1.8 and ran lerna repair

* chore: pin typescript to ~5.4.5 to avoid importsNotUsedAsValues that was removed in 5.5 and edit workflows and scripts to correctly scope learna packages on v8 snapshot tests [run ci]

* fix indentation in comments

* remove console.log reference to print current package directory in sync exported npm with cli script
2024-10-22 14:46:46 -04:00
Ryan Manuel 0e28a81202 chore: fix windows job due to ipv6 issues (#30437)
* chore: fix windows job due to ipv6 issues

* Update server-base.ts

* fix

* limit to just windows

* Update packages/network/lib/connect.ts
2024-10-22 08:22:10 -05:00
Ryan Manuel 4ba72c94aa fix: ensure that requests to the same resource will be properly intercepted even if they are sent in rapid succession (#30435)
* fix: ensure that requests to the same resource will be properly intercepted even if they are sent in rapid succession - run ci

* add changelog

* Update packages/net-stubbing/lib/server/middleware/request.ts

* PR comments
2024-10-22 08:21:44 -05:00
Bill Glesias aafac6a610 chore: add graphql schema update and wrap process.kill to swallow esrch error [run ci] (#30434) 2024-10-21 15:26:40 -04:00
github-actions[bot] e0177ffd17 chore: Update Chrome (beta) to 131.0.6778.3 (#30416)
* chore: Update Chrome (beta) to 131.0.6778.3

* fix type test

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Schile <mschile@cypress.io>
2024-10-21 10:05:10 -04:00
Bill Glesias 05333076c6 chore: gracefully handle CDP address not returning from webdriver capabilities, prompting a browser relaunch (#30393)
* chore: gracefully handle CDP address not returning from webdriver capabilities, prompting a browser relaunch

Update packages/server/lib/browsers/firefox.ts

add inline comment to github comment thread [run ci]

strongly type errors more consistently [run ci]

* add test for firefox cdp error for visual snapshot [run ci]
2024-10-18 23:37:37 -04:00
github-actions[bot] c420d9c6f9 chore: Update Chrome (stable) to 130.0.6723.58 and Chrome (beta) to 130.0.6723.44 (#30396)
* chore: Update Chrome (beta) to 130.0.6723.44

* chore: Update Chrome (stable) to 130.0.6723.58 and Chrome (beta) to 130.0.6723.44

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-10-16 19:51:46 -04:00
Bill Glesias 0e316966af misc: implement webdriver on top of geckodriver in order to reduce overhead maintenance and code (#30324)
* misc: implement webdriver npm package as the client for the webdriver specification

* misc: go back to xulstore to save browser preferences [run ci]

* add changelog [run ci]

* chore: fix screenshot resolution [run ci]

* fix check-ts issues [run ci]

* run windows ci [run ci]

* run ci

* add comments [run ci]

* build binaries for webdriver impl [run ci]

* fix Cypress namespace missing issue. see https://github.com/cypress-io/cypress/pull/30331/commits/6d7ba97c2562054e11983e8bfed576f0fa3ee37b

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* patch edgedriver and preserve dependency paths for webdriver so they are included in the binary [run ci]

* fix issues with firefox profile not being created in open mode when old profile exists from previous cypress versions where they are no longer compatible [run ci]

* address comments that came up in review [run ci]

* see if this fixes extension test [run ci]

* make sure process kill emits the exit event [run ci]

* update geckodriver to include contribution patch to types [run ci]

* fix misapplication of geckodriver package (accidentally deleted) [run ci]

* empty commit to trigger ci [run ci]

* address comments from code review [run ci]

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-10-15 11:18:14 -04:00
Matt Schile a3f006edb8 chore: update to use firefox 131 docker images (#30403) 2024-10-11 15:06:19 -06:00
Ryan Manuel 18cf93de00 Revert "chore: updating v8 snapshot cache" (#30391)
This reverts commit 0916ab7eb7.
2024-10-10 10:50:41 -05:00
cypress-bot[bot] 0916ab7eb7 chore: updating v8 snapshot cache 2024-10-10 15:19:20 +00:00
Ryan Manuel 04c1e8c90b fix: ensure that find-process does not error out due to a bad regex (#30380)
* fix: ensure that find-process does not error out due to a bad regex

* add changelog

* fix patch

* add a test

* add comment

* update comment

* blank

* blank
2024-10-10 09:15:40 -05:00
github-actions[bot] 8a8015b774 chore: Update Chrome (stable) to 129.0.6668.100 (#30379)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-10-09 11:11:23 -04:00
Emily Rohrbough 0ed7de8a7c chore: aq results api (#30325)
* empty commit

* new workflow for a11y results

* empty commit

* Update required jobs to be a11y focused

* persist files to workspace

* restore workspace

* yarn

* .

* update

* update

* include context

* .

* translate record key

* .

* add rule check

* re-add all jobs

* cleanup

* add to the contributor pr workflkow

* rename to verify results

* ensure run is completed before fetching a11y results

* flip the logic to only track problematic rules, not passing rules

* speed up install

* ssh

* install locally

* re-add commented out jobs

* Update scripts/verify-accessibility-results.js

* pr feedback

* address pr feedback

* remove rules that were just resolved

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-10-07 12:33:42 -04:00
Emily Rohrbough 45de9ec2fe chore: address some accessibility violations (#30358) 2024-10-07 10:26:50 -05:00
github-actions[bot] c3f5e567fc chore: Update Chrome (beta) to 130.0.6723.31 (#30362)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-10-04 09:16:17 -04:00
Bill Glesias 02be8e5d37 chore: temporarily patch windows build to install dependencies as caching is currently broken (#30350) 2024-10-03 09:36:18 -04:00
renovate[bot] 619a9ab511 dependency: update dependency simple-git to v3.25.0 (#30076)
* empty commit

* fix(deps): update dependency simple-git to v3.25.0

* cli entry

* yarnlock

* mock out simple-git for failing unit tests

* fix yarn lock merge

* changelog

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cacie Prins <cacie@cypress.io>
2024-10-02 10:02:22 -04:00
github-actions[bot] f98810c31b chore: Update Chrome (stable) to 129.0.6668.89 (#30340)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-10-02 09:59:40 -04:00
Ryan Manuel 8cff95661a misc: pass spec to beforeSpec to support better reporting on client side protocol errors (#30316)
* feat: pass spec to beforeSpec to support better reporting on client side protocol errors

* Update packages/types/src/protocol.ts

Co-authored-by: Matt Schile <mschile@cypress.io>

* update changelog

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2024-09-30 16:55:13 -05:00
Bill Glesias 6af696081a chore: bump cache to try and fix windows build [run ci] (#30323) 2024-09-30 16:45:51 -04:00
Bill Glesias af3839d990 misc: replace marionette-client with geckodriver as b2g marionette client is no longer supported (#30250)
* misc: replace marionette-client with geckodriver as b2g marionette client is no longer supported [run ci]

* install pump [run ci]

* refactor to have geckodriver launch the browser and split out webdriver to own class [run ci]

fix other failing tests [run ci]

fix other failing tests [run ci]

pass env variables to firefox

* fix sigkill / treekill issues on windows with firefox binary being a dangling process [run ci]

* fix issue where browser in headed mode was not starting maximized [run ci]

* stub firefox_spec added deps different to get type inference

* add comment to geckodriver patch

* move capabilities to verbose debug statement

* update changelog

* address comments from code review

* add pending for changelog

* update with suggestions from code review

* remove debug enable as the process needs to be bound to stderr and stdout

* add comment on why we need to bind

* add comments from code review

* address comments from code review

* make sure sessionId is set
2024-09-30 12:19:03 -04:00
renovate[bot] 80e70b8988 chore(deps): update dependency @nrwl/nx-cloud to v19 (#30057)
* chore(deps): update dependency @nrwl/nx-cloud to v19

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
2024-09-27 11:19:08 -04:00
github-actions[bot] 83c194aa58 chore: Update Chrome (beta) to 130.0.6723.19 (#30299)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-09-27 09:53:27 -04:00
github-actions[bot] 5afb929473 chore: Update Chrome (stable) to 129.0.6668.70 (#30279)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
v13.15.0
2024-09-25 13:54:37 -04:00
Matt Schile 0d2248c96e chore: release 13.15.0 (#30292) 2024-09-25 13:16:19 -04:00
Jennifer Shehane 8d71cc4526 chore: Update changelog to 'addresses' rather than addressed in (#30275) 2024-09-25 12:53:26 -04:00
Cacie Prins 1d845323d4 feat: Improve UX when Test Replay upload fails due to slow upload (#30235)
* new error message for stream stall upload failures

* new unknown error msg, extract printProtocolUploadError for testing, consolidatd args for stream stall msg

* rename env more appropriately, add sampling interval param to putProtocolArtifact

* default to 5000, override with app capture protocol value, override that with env var

* update snapshots

* fix math in upload stall error msg

* changelog

* update gql schema w/ new error msg, fix protocol tscheck

* update test to use fn for app capture supplied interval

* increase default stream stall interval to 10 seconds

* typos

* snapshots

* rename env var

* do not use user-supplied interval if it parses to NaN

* use the more standard makeErr for unknown/uncategorized upload error in visual snapshots

* rearrange upload stall error message

* fix typo

* changelog

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-25 11:39:28 -05:00
Ryan Manuel fbe51fc0ab chore: fix net_stubbing flake (#30276)
* chore: fix net_stubbing flake

* different fix

* fix flake
2024-09-25 09:42:20 -05:00
Jennifer Shehane 88900e79a4 chore: update tests to skip the welcome screen on launchpad tests. (#30240)
* chore: update tests to skip the welcome screen on launchpad tests.

* empty commit

* Fix some tests

* Fix another test
2024-09-23 11:28:17 -04:00
Jennifer Shehane 954cc5043e chore: [Snyk] Security upgrade express from 4.19.2 to 4.21.0 in packages/graphql (#30225)
* fix: packages/graphql/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-BODYPARSER-7926860
- https://snyk.io/vuln/SNYK-JS-EXPRESS-7926867
- https://snyk.io/vuln/SNYK-JS-SEND-7926862
- https://snyk.io/vuln/SNYK-JS-SERVESTATIC-7926865

* yarn lock

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-09-23 11:28:05 -04:00
Jennifer Shehane 3ff88b7d98 chore: Fix double bugfixes headings in changelog (#30268)
* Fix double bugfixes headings in changelog

* empty commit
2024-09-23 10:41:30 -04:00
github-actions[bot] 0bdf49577f chore: Update Chrome (beta) to 130.0.6723.6 (#30256)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-09-19 11:46:52 -04:00
Mike McCready f7946de584 docs: update guides/building-release-artifacts.md (#30257) 2024-09-19 11:27:13 -04:00
Ryan Manuel ce2c52afc0 chore: fix full v8 snapshot (#30255)
* chore: fix full v8 snapshot

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-09-18 17:07:52 -05:00
github-actions[bot] 7c23ed71f0 chore: Update Chrome (stable) to 129.0.6668.58 (#30251)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
2024-09-18 12:50:49 -04:00
renovate[bot] 1228869198 fix(deps): update dependency launch-editor to v2.9.1 (#30247)
* fix(deps): update dependency launch-editor to v2.9.1

* add changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-18 12:43:57 -04:00
Bill Glesias c17d1ffbf3 fix: update chrome to 128 firefox to 130 inside Cypress tests in CircleCI (#30245)
* update docker image to chrome 128 and firefox 130 [run ci]

* fix: fix checkbox click events for firefox 129 and up [run ci]

* Update system-tests/lib/normalizeStdout.ts

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

* Update system-tests/lib/normalizeStdout.ts

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

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-17 17:42:44 -04:00
Mike McCready c3b6a7915d chore(deps): migrate electron-packager to @electron/packager 18.3.4 (#30156)
* chore(deps): migrate electron-packager to @electron/packager 18.3.4

* correct typo in comment

* run ci

* run ci

* run ci again

* build

* run ci

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-17 10:31:06 -04:00
Jennifer Shehane caab25fe2f dependency: [Snyk] Fix for 4 vulnerabilities (#30241)
* fix: packages/server/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-BODYPARSER-7926860
- https://snyk.io/vuln/SNYK-JS-EXPRESS-7926867
- https://snyk.io/vuln/SNYK-JS-SEND-7926862
- https://snyk.io/vuln/SNYK-JS-SERVESTATIC-7926865

* yarn lock

* changelog entry

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-09-17 10:23:16 -04:00
Matt Schile f3242ea7f3 misc: pass the related command log to the createSnapshot function (#30244)
* passing related log to the createSnapshot function

* update changelog

* update system test snapshot
2024-09-16 14:34:08 -05:00
Mike McCready 095b3daefa chore: re-sync yarn.lock (#30237) 2024-09-16 08:26:26 -04:00
Jennifer Shehane f9810d1d27 fix: upgrade multiple dependencies with Snyk (#30226)
Snyk has created this PR to upgrade:
  - react from 18.2.0 to 18.3.1.
    See this package in yarn: 
  - react-dom from 18.2.0 to 18.3.1.
    See this package in yarn: 

See this project in Snyk:
https://app.snyk.io/org/cypress-opensource/project/a5a63d46-02af-48cd-b608-ceae831d3196?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-09-12 20:46:58 -04:00
github-actions[bot] 952c851374 chore: Update Chrome (stable) to 128.0.6613.137 and Chrome (beta) to 129.0.6668.42 (#30214)
* chore: Update Chrome (stable) to 128.0.6613.137

* chore: Update Chrome (stable) to 128.0.6613.137 and Chrome (beta) to 129.0.6668.42

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-12 14:14:43 -04:00
Raymond Greeley 23e67e1f53 chore(deps): migrate to @tanstack/react-query (#30154)
* Migrate to tanstack query

* chore(deps): migrate to @tanstack/react-query

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-11 11:33:27 -04:00
Emily Rohrbough 00cddbc072 chore: Upgrade esbuild from 0.23.0 to 0.23.1 in system-tests (#30202)
Snyk has created this PR to upgrade esbuild from 0.23.0 to 0.23.1.

See this package in yarn:
esbuild

See this project in Snyk:
https://app.snyk.io/org/cypress-opensource/project/31cdcc8e-d0de-41d5-8f3b-c77ee7a88420?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-09-11 09:47:18 -04:00
Matt Schile 833b0f727c test: retry service worker system test (#30212) 2024-09-10 12:48:58 -06:00
Jennifer Shehane 0a15c8d2cc dependency: bump @cypress/request to ^3.0.4 (#30194)
* empty commit

* dependency: bump cypress/request

* add changelog entry
2024-09-10 12:29:25 -04:00
Mike McCready 3db1bf5ff3 docs: update link to debug-js/debug repo (#30196) 2024-09-06 06:29:39 -04:00
Mike McCready 66dd3689c4 dependency: update loader-utils to 1.4.2 (#30159)
* dependency: update loader-utils to 1.4.2

* move changelog to new release

* run ci

* run ci
2024-09-05 15:32:56 -04:00