Commit Graph

1377 Commits

Author SHA1 Message Date
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 https://cloud.cypress.io/projects/ypt4pf/runs/53181/accessibility/025590e09a6edf822a6d05538ae6d876f18ab8fb?snapshotId=3639cfec723398fbc632015ff5b3460bca4c3fcc&violationId=aria-required-children&targetId=I2hlYWRsZXNzdWktbGlzdGJveC1vcHRpb25zLTc%3D

* 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
Jordan 02d0493472 fix(driver): add support for alias.all when using dynamic alias (#28352)
* add tests for failing instance

* fix: support for dynamic alias.all

* update changelog

* Update cli/CHANGELOG.md

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

* move test

* Update cli/CHANGELOG.md

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

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-11-16 16:17:11 -05:00
Chris Breiding d6e2a0d992 fix: Open app urls externally instead of in Cypress-launched browser (#28351)
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-11-16 14:47:19 -05:00
Chris Breiding 06b5ca280c misc: Ensure cypress tab is active before any command runs (#28334) 2023-11-16 13:09:35 -05:00
Chris Breiding 424d408e26 misc: Close extra tabs/windows between tests (#28204) 2023-11-16 11:39:06 -05:00
Cacie Prins d54a1e9a57 feat: display artifact upload durations in the console (#28226)
* feat: display how long artifacts take to upload

* adds changelog entry

* add PR link to changelog

* bump circle cache

* previous masking was too greedy, made upload duration masking more limited in scope

* update snapshots for video compression system tests

* links changelog for upload durations to open issue

* reorder upload result manifest - show duration after filesize instead of after count

* update stdout normalization regex to be less applicable across system tests

* maybe better regex for masking

* another snapshot attempt

* chore: add after:browser:launch node event (#28180)

* test: update mochaEvent snapshots to be auto-generated (#28224)

* feat: add support for angular 17 (#28152)

* feat(webpack-dev-server): add support for angular 17

* update changelog

* fix broken spec pattern

* update to rc 2 for cli

* remove = from dependency minVersion lists

* update angular 17 rc version and update dep test

* add projectDirFolder to fixtures for angular-17

* resolve broken system tests

* update ct project dir angular version

* fix: runIfWaitingForDebugger when targets are reloaded after crashing (#28254)

* Update cli/CHANGELOG.md

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

* update snapshots

* Update CHANGELOG.md

---------

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2023-11-16 10:01:54 -05:00
Jordan ab60af8633 chore: release 13.5.1 (#28333) 2023-11-14 12:02:55 -06:00
Ryan Manuel 16d6430827 fix: performance regression due to enabling ScopeMemoryCachePerContext (#28327) 2023-11-14 11:10:34 -06:00
Chris Breiding 9d9bf25977 fix: Ensure response headers are set for extra target network requests (#28322) 2023-11-13 17:51:51 -05:00
Jennifer Shehane 8274f5ddb2 fix: Add Chromium flag to disable-component-extensions-with-background-pages (#28294) 2023-11-13 11:36:23 -05:00
Jordan a23dba19af chore: release 13.5.0 (#28278) 2023-11-08 13:36:09 -05:00
Emily Rohrbough 176280dd49 chore: release 13.5.0 - update changelog (#28262) 2023-11-07 09:58:57 -06:00
Ryan Manuel d70ffea0bf fix: runIfWaitingForDebugger when targets are reloaded after crashing (#28254) 2023-11-07 07:37:12 -06:00