Commit Graph

1389 Commits

Author SHA1 Message Date
Bill Glesias
1b5eac9d7f chore: fix release readiness job [run ci] (#28790) 2024-01-24 14:29:04 -05:00
Ryan Manuel
9088dc232d fix: issue with service workers in test replay when they're initiated from a support file (#28748)
* fix: issue with service workers in test replay when they're initiated from a support file

* add changelog

* Update cli/CHANGELOG.md

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

* PR comment

* get prerelease

* PR comments

* Update .circleci/workflows.yml

* Update .circleci/workflows.yml

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

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
2024-01-23 12:22:02 -06:00
Matt Schile
c672581a71 perf: fix proxy correlation timeout issues (#28751) 2024-01-22 15:35:49 -07:00
Jon Hermansen
099c4f1b44 misc: Add missing properties to Cypress.spec type (#28005)
* chore: Add missing properties to Cypress.spec type

* Integrate PR suggestions

* Make some fields optional to hopefully fix the build

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2024-01-17 14:53:06 -05:00
Bill Glesias
55e4898a14 chore: fix broken links in changelog (#28732) 2024-01-16 16:11:32 -05:00
Bill Glesias
92e922e0ed chore: 13.6.3 (#28731)
* chore: 13.6.3

* chore: remove pending

* chore: add line break
2024-01-16 13:36:41 -05:00
Bill Glesias
81fce0e253 fix: force moduleResolution: 'node' when ts-node is registered in the… (#28709)
* fix: force moduleResolution: 'node' when ts-node is registered in the cypress process to make sure value is compatible with commonjs (which is already forced). [run ci]

* Update cli/CHANGELOG.md
2024-01-16 12:09:12 -05:00
Adam Stone-Lord
8a02c2de83 fix: (driver) add null check for browserRequestId on responses for cy.wait (#28713) 2024-01-12 13:48:13 -07:00
Emily Rohrbough
7880c488b8 dependency: update better-sqlite3 to 9.2.2 (#28700)
* dependency: update better-sqlite3 to 9.2.2

* Apply suggestions from code review

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

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2024-01-12 13:44:23 -06:00
Sam Tsai
46c2080ffd fix: Ensure original headers are included with extra target requests (#28671)
* fix: extra target request headers are overwritten

Include original headers with the special "X-Cypress-Is-From-Extra-Target" that is added so fetch requests can include custom headers.

* Add details to changelog

* refactor

---------

Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2024-01-11 14:08:24 -05:00
Emily Rohrbough
09ce5c1f0c dependency: replace circularJSON with flatted (#28683) 2024-01-11 11:10:19 -06:00
Emily Rohrbough
4b1df35741 fix: prevent timing out on short/skipped videos (#28643) 2024-01-11 09:56:31 -06:00
Emily Rohrbough
c9592bf400 fix: sync currentRetry state with secondary origin (#28651) 2024-01-10 13:49:24 -06:00
Jennifer Shehane
765b859a09 misc: Fix some a11y violations using Cypress Cloud (#28628)
* Attempt to fix a11y violation with aria role of expanded state

* empty commit

* Add role for option that is in framework dropdown to address a11y violation

Found at 025590e09a

* Add alt text for CI provider images

* Add aria-label to readonly label for a11y

* Add title to stub to reflect title addition in services

* Add changelog entry

* Update packages/frontend-shared/src/gql-components/topnav/PromptContent.vue

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

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2024-01-10 12:23:40 -05:00
Chris Breiding
aeb5f146b0 chore: patch cli @types/sinon to fix issue with TS 4.3 linting (#28676) 2024-01-10 12:09:19 -05:00
Chris Breiding
ec89901b9d fix: prevent redirect loop when chrome https upgrade is detected (#28650) 2024-01-09 15:25:57 -05:00
Bill Glesias
d1c4a8f56c chore: remove duplicate changelog entry that was not present in 13.6.2 release [run ci] (#28670) 2024-01-09 15:07:40 -05:00
Ryan Manuel
c6f5e9a5c9 fix: ensure that we capture service worker requests (#28517)
* fix: ensure that we capture service worker requests

* add changelog

* fix changelog

* fix tests

* PR comments

* PR comments

* PR comment

* PR comment

* update changelog

* Update cli/CHANGELOG.md

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

* enable builds on all archs

* fix permission issue

* PR comments

* Update smoke.js

* Update cli/CHANGELOG.md

* attempt to fix smoke tests

* bump ci cache

* Update smoke.js

* Update smoke.js

* Update example.json

* fix multiple specs

* fix tests

* Update CHANGELOG.md

---------

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2024-01-06 15:23:30 -06:00
Matt Schile
7a9e3a4697 perf: don't reset preRequests when test isolation is off (#28642) 2024-01-05 14:52:47 -07:00
Matt Schile
1cba68fa5e fix: protocol supports body highlight element (#28627) 2024-01-05 12:17:54 -07:00
Jennifer Shehane
c6333ab03f misc: Update docs.cypress.io links to on.cypress.io (#28623)
* Update docs.cypress.io links to on.cypress.io

* misc: fix typo in link

* Update changelog

* update error snapshot
2024-01-05 09:14:17 -05:00
Emily Rohrbough
48e30d4cf1 fix: cross-origin logs getting too many snapshots (#28613) 2024-01-03 13:39:44 -06:00
Jennifer Shehane
79564a1092 fix: Properly handle formatting and escaping markdown for commands and assertions in Command Log (#28583)
* bump markdown-it

* Update code to wrap assertions back in strong html

* Update the logic to be more broad in not applying markdown formmated for any assertions

* Add code covering complex assertions

* Add code/cases to handle html elements in assertions

* Fix studio tests - these should be 'expected'

* fix the regex and clean up code

* Add condition for 'not to' since the terminology is switched on match

* add changelog entry

* fix date format in changelog

* remove space

* Fix bug with studio displaying generated assertions incorrectly

* revert studio changes to track in a different PR

* remove old 'type' arg that was passed for formattedMessage before

* Update code to not format markdown for commands that accept URLs

* changelog update
2024-01-02 14:37:17 -05:00
Sharmila Jesupaul
9f8dc10a08 dependency: remove @types/node as a dependency of cli (#28475)
* dependency: declare @types/node as a peerdep and allow >=16

Instead of pushing a pinned version of of types/node as a dependency on all consumer packages, allow any version of types/node that is supported by Cypress. It looks like cypress supports node v16 and up, so I set the peerdep semver to match that.

* Revert "dependency: declare @types/node as a peerdep and allow >=16"

This reverts commit 338fb8491e.

* dependency: remove @types/node as a dependency of cli

* Add changelog entry

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2024-01-02 13:16:56 -05:00
Jennifer Shehane
83c5a94a28 dependency: bump unique-selector (#28571)
* bump unique-selector

* Update changelog
2023-12-28 18:55:16 -05:00
qwazimoda
ef3f04fbfd fix: do not ignore node_modules if it is specified by an user #23616 (#28456)
* FileDataSource: do not ignore node_modules if it is spicified by an user

* extra empty commit

* update changelog

* update the changelog

* add x.x.x version to  the changelog

* change version location in the changelog

* provide an exact version and a release date, since it is checkec by regex in the parse-changelog.js

* add unit tests

* Fix changelog

---------

Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2023-12-28 17:21:31 -05:00
Jennifer Shehane
f80027f7b7 fix: studio generated assertions now use proper past tense for assertions (#28593)
* Fix studio generated assertions to use proper past tense of assertions

* changelog entry

---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-12-28 13:56:51 -06:00
Jordan
ce8ee60def chore: release 13.6.2 (#28589) 2023-12-26 11:49:39 -05:00
Cacie Prins
d6f356f561 chore: update changelog to fix release readiness check (#28551) 2023-12-19 12:44:55 -05:00
Cacie Prins
3eece90e32 chore: Revert "chore: moves fix annotation to dependency update section" (#28550) 2023-12-19 11:33:53 -06:00
Cacie Prins
38049f2275 misc: moves fix annotation to dependency update section (#28549)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-12-19 11:58:37 -05:00
Matt Schile
fa971f1bc8 perf: improve performance when finding unique selectors for Test Replay (#28536) 2023-12-15 15:30:59 -07:00
Jennifer Shehane
17eea15a62 docs: Add more descriptive changelog entry since this bug is fixed. [skip ci] (#28530) 2023-12-14 14:29:18 -05:00
Jennifer Shehane
372515829e dependency: Bump ts-node to 10.9.2 (#28528) 2023-12-14 13:28:18 -05:00
Matt Schile
c9062f145e fix: handle malformed URIs in prerequests (#28522) 2023-12-14 09:12:13 -07:00
Jennifer Shehane
c061fd8900 fix: Remove erroneous <br> tags from error messages (#28496) 2023-12-12 14:46:07 -05:00
Chris Breiding
687dc63538 chore: Update changelog for 13.6.1 release (#28462) 2023-12-05 11:23:21 -05:00
Chris Breiding
fff6ce9bfe chore: Release 13.6.1 (#28461) 2023-12-05 10:29:25 -05:00
Emily Rohrbough
f53ca92f5c fix: no longer swallow stderr logs on linux (#28380) 2023-12-05 10:12:14 -05:00
Chris Breiding
257861bd6e fix: Fix issue with using privileged commands when baseUrl includes basic auth credentials (#28428) 2023-11-29 22:40:02 -05:00
Matt Schile
57bb0b68ee fix: decode urls in prerequest (#28427) 2023-11-29 15:09:12 -07:00
Cacie Prins
7ba92b91e5 misc: persist upload timings to cy cloud (#28418)
* feat: report artifact upload durations to cy cloud for monitoring

* round upload durations to nearest ms

* update changelog

* revert changelog, fix typo in comment

* no longer round uploadDuration - api now accepts floats

* updates changelog

* update api spec for refactored signature on api.updateInstanceArtifacts

* Update CHANGELOG.md

* Update system-tests/test/record_spec.js

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* rm defunct comment

* rm non-null accessors, this spec is not ts

---------

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2023-11-29 15:33:35 -05:00
Matt Schile
d5678c794f fix: don't inherit default message for request logging (#28411) 2023-11-28 09:21:06 -07:00
Chris Breiding
650d5cb7da fix: Ensure basic auth headers are set on extra target requests (#28387) 2023-11-27 16:28:35 -05:00
Jordan
2877454db5 chore: release 13.6.0 (#28376) 2023-11-21 12:16:43 -05:00
Roman
dcd6a18d9b fix: Allow absolute paths in indexHtmlFile (#28324)
* fix: allow absolute paths in indexHtmlFile

* Update CHANGELOG.md

* Updated readme

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jordan <jordan@jpdesigning.com>
2023-11-20 22:49:27 -05:00
Matt Schile
a22fd5cb82 dependency: updated chrome-remote-interface to 0.33.0 (#27998)
* dependency: updated chrome-remote-interface to 0.33.0

* updating changelog

* updating tests

* updating snapshot

* enable debug logs

* run ci without app integration tests

* .

* is this our problem? seems to be

* .

* run app tests

* .

* remove debug logs in ci

* clean up & re-enable all jobs

* .

* keep existing checked in error for now

* update changelog

---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-11-20 16:08:52 -05:00
Matt Schile
d964865357 fix: update getPath to use WHATWG URL API (#28354) 2023-11-20 12:46:04 -07:00
Simon Törnqvist
2041c696e9 fix(driver): dynamic intercept aliases shown with name instead of no alias (#28326)
Co-authored-by: jordanpowell88 <jordan@jpdesigning.com>
2023-11-20 13:50:11 -05:00
Cacie Prins
e3ba69781d feat: display an activity indicator in the CLI output when uploading artifacts to cypress cloud (#28277)
* logic for activity indicator

* update snapshot & masking to handle upload duration, remove defunct mask for upload order

* update changelog

* check for existence of upload activity indicator before attempting to stop it

* updates changelog

* Update cli/CHANGELOG.md

* upload activity display improvements; configurable intervals and delays

* system test snapshots for video compression

* default delay and interval based on undefined rather than falsy

* reduce interval so upload indicator is captured in certain system tests

* Update CHANGELOG.md

* Update CHANGELOG.md

* remove initial delay for upload activity

* correctly evaluate if an upload activity interval env is set or not

* re-inserts spacing before upload activity indicator

* snapshots

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2023-11-20 11:50:53 -05:00