Commit Graph

18601 Commits

Author SHA1 Message Date
Emily Rohrbough
835d337103 round 1 2022-08-29 13:31:09 -05:00
Jaime Pericas
7d71ffe25d Merge pull request #23445 from cypress-io/784-adds-github-retry-number
fix: adds GITHUB_RUN_ATTEMPT counter for tracking retries in the Cypress Cloud
2022-08-23 14:01:47 -07:00
Jaime Pericas
4386cc1714 Merge branch 'develop' into 784-adds-github-retry-number 2022-08-22 21:22:12 -07:00
Blue F
9ba3ed3b5a chore: Refactor assertion logging (#23354)
* chore: Refactor assertion logging

* Remove duplicate snapshot on command failure; Prevent circular json error when inspecting commands

* Fix for 'next' attribute in logs

* Add comments about logging and assertions

* Fix duplicate logs on not.exist assertions

* Move command-merging logic into asserting.ts

* Fix TS error

* Fix race condition with cross-origin tests

* Review updates
2022-08-22 10:56:27 -07:00
Rachel
ab23d7797b chore: skip or fix flaky tests II (#23386)
* fix leftover percy network-idle-timeout

* Skip another instance of 23153

* fix 23147

* Revert fix 23147

* try percy upgrade again

* Update yarn.lock

* skip 23404

* bring in emilys override version change for percy ui

* skip 23406

* skip 23407

* downgrade percy to 1.2.0

* fix percy diff

* fix percy diff

* update comment

* restore lock file

* Update yarn.lock

* Update yarn.lock

* percy fixes

* possible fix

* fix verison flake??

* Revert "fix percy diff"

This reverts commit e4c4e2e990.

* Revert "Revert "fix percy diff""

This reverts commit 94284e4694.

* Remove version assertion

* Trigger Build

* ignore spec duration in percy snapshots

* use .each to preserve order of execution

* add comment

* fix comment

* try new logic for header wait

* Revert "try new logic for header wait"

This reverts commit bfed31edce.

* add timeout to choose a browser

* Trigger Build

* try without promise.all; revert timeout to choose a browser tests

* ignore spec-duration in percy in runner

* clean up .thens

* clean up diffs

* move around .thens

* wait for tooltip to take snapshot, skip flakers

* try hiding spec duration

* Revert: try hiding spec duration

* Bring back duration mock

* Add another duration mock

* try cy.contains with tooltip, comment out removeGlobalStyles

* skip 23417

* skip choose a browser failures

* skip 23419

* skip 23414

* bring back // removeGlobalStyles()

* skip 23422

* skip 23423

* skip 23424

* set version to empty string to make percy happy

* Remove duration mock

* Do not display top-nav-cypress-version-current-link, skip 23433?

* skip 23434, clean up diffs

* clean up diffs, skip percy flake

* skip 23434

* skip 23437

* fix 23156

* fix 23250 and similar

* fix 23157

* skip more percies

* skip 23443

* skip more tooltip snapshots

* Update net_stubbing.cy.ts

* Update cookies.cy.js

* Update e2e_cookies.cy.js

* add missing github issue

* Update circle.yml

* Skip all of network stubbing

* Skip 23158

* Skip 23448

* remove unnecessary async, add skip for 23444

* more skips for 23444

* skip 23451

* More skips 23436

* More skips 23444

* skip 23455

* more skips 23444

* skip 23457

* more skips 23444

* mroe skip 23455

* Trigger Build

* skip set cookie 23444

* skip 21300

* skip 23417

* Trigger Build

* potential fix for 23308

* skip 23472

* skip snapshot

* skip 23474

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* skip more 23245

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* skip 23480,23481

* skip 23307

* Trigger Build

* addtl skip 23481

* skip 23484

* try cy.origin stability fix on nav commands issue

* Revert: try cy.origin stability fix on nav commands issue

* skip more 23452

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* skip 23493

* Trigger Build
2022-08-22 10:50:12 -07:00
Ryan Manuel
a9456887e4 fix: app crashing on websocket upgrade request over https (#23449) 2022-08-19 15:18:56 -05:00
Zach Bloomquist
6e18996d02 chore: skip Circle env canary check unless in Docker (#23467) 2022-08-19 17:40:27 +00:00
Rachel
97551d7920 Revert "skip set cookie 23444"
This reverts commit 98cbac1be7.
2022-08-19 09:10:41 -07:00
Rachel
98cbac1be7 skip set cookie 23444 2022-08-19 09:10:22 -07:00
GitStart
287aeba860 fix: missing fallback generic browser icon in some places (#23031)
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-08-19 10:09:49 -04:00
Jaime Pericas
1eab9b038a Merge branch 'develop' into 784-adds-github-retry-number 2022-08-18 16:58:41 -07:00
Jaime Pericas
47d86556bd fix: adds GITHUB_RUN_ATTEMPT counter for tracking retries 2022-08-18 15:34:56 -07:00
Matt Schile
31527ff8c9 chore: update add_to_triage_project github token (#23440) 2022-08-18 15:37:05 -06:00
Zach Bloomquist
272438977e chore(webkit): fix WebKit network-related driver tests (#23232)
Co-authored-by: Blue F <blue@cypress.io>
2022-08-18 16:43:05 +00:00
Adam Stone
03182625cf feat: Enable create from Vue component for projects with custom spec patterns (#23298) 2022-08-18 11:00:29 -04:00
Matt Schile
3099f2f0e2 chore: create add_to_triage_project workflow 2022-08-18 08:36:56 -06:00
Matt Schile
6b5f2756d8 Merge branch 'develop' into add_to_triage_project_workflow 2022-08-17 12:04:21 -06:00
Kukhyeon Heo
a27affe447 chore: refactor server/lib/config.ts to pkg/config (#22530)
Co-authored-by: Rachel <rachel@cypress.io>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Rachel <Raquel.rudermano@gmail.com>
2022-08-17 10:54:02 -07:00
Matt Schile
95f4e22670 updating name 2022-08-17 10:51:26 -06:00
Matt Schile
e5a94ed0fa Merge branch 'develop' into add_to_triage_project_workflow 2022-08-17 10:12:12 -06:00
Bill Glesias
53f0a02858 fix: support snapshots of xhr/fetch and other logs generated from the primary (#21552)
* add special serialization rules for snapshot prefix

* add failing regression tests

* allow for snapshots to delegate to the active spec bridge if applicable

* test against consoleProps URL which is more consistent than log url

* clean up snapshot tests to set interactive mode in the spec bridge when XHR requests are made, as well as used aliases for requests over arbitrary waits

* Update packages/driver/src/cypress/log.ts

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

* Update packages/driver/src/cypress/log.ts

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

* chore: fix trailing space

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
2022-08-17 11:47:52 -04:00
Matt Schile
f399ab62cc Merge branch 'develop' into add_to_triage_project_workflow 2022-08-17 09:27:49 -06:00
Matt Schile
76de094c8a updating version 2022-08-17 09:27:35 -06:00
github-actions[bot]
a05b2b6883 chore: Update Chrome (stable) to 104.0.5112.101 and Chrome (beta) to 105.0.5195.28 (#23273)
* chore: Update Chrome (beta) to 105.0.5195.28

* chore: Update Chrome (stable) to 104.0.5112.101 and Chrome (beta) to 105.0.5195.28

Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
2022-08-17 18:36:22 +10:00
Matt Schile
e2cc89bd57 Merge branch 'develop' into add_to_triage_project_workflow 2022-08-16 16:12:43 -06:00
Matt Schile
b693757701 Create add_to_triage_project.yml 2022-08-16 16:05:57 -06:00
Mike Plummer
741254803f feat: ACI Notification Banners (#23256) 2022-08-16 17:05:09 -05:00
Tyler Biethman
19dd523ad4 chore: bumping version to 10.6.0 (#23381) v10.6.0 2022-08-16 15:42:41 -05:00
Tyler Biethman
89839eb2e0 Merge branch 'master' of https://github.com/cypress-io/cypress into develop 2022-08-16 13:09:58 -05:00
Bill Glesias
c220f403e0 fix: add locales for experimentalSingleTabRunMode (#23375) 2022-08-16 13:05:55 -04:00
Emily Rohrbough
4a58868390 chore: ensure webpack/vite dev server integration tests pass before releasing (#23369) 2022-08-16 11:34:00 -05:00
Mike Plummer
d6764487e1 fix: Display full spec file extension in popovers (#23350)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-08-16 11:30:46 -05:00
Zachary Williams
e703ab4900 fix: match full spec path and improve search results (#23325)
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-08-16 10:21:41 -05:00
Tyler Biethman
937d4e7f73 fix: ensure absolute directories in glob patterns are leading prior to removal (#23368)
* fix: ensure absolute directories in glob patterns are leading prior to removal

* Removing errant slash
2022-08-16 10:09:59 -05:00
Emily Rohrbough
ae5cbb592d fix: persist registered spec sessions (#23347) 2022-08-16 09:27:28 -05:00
Tomas Bjerre
7489561fbf feat: including version in CYPRESS_DOWNLOAD_PATH_TEMPLATE (refs #5141 #16976 #22864) (#23194)
Co-authored-by: Blue F <blue@cypress.io>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-08-16 08:49:56 -05:00
Mark Noonan
7dd4a142dd test: increase a timeout to avoid failing on CI in Windows (#23346)
* get path for platform in test

* run windows workflow

* increase timeout due to windows flake

* update a second timeout

* set timeouts to 12, move to proper command

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-08-15 22:17:23 -05:00
Lachlan Miller
91beb9012c feat: experimental single tab run mode for component testing (#23104)
* revive logic to run CT in a single tab

* add feature flag: experimentalSingleTabRunMode

* remove log

* reset browser state between tests

* document single tab run mode experiment;

* add system test for experimental run mode

* fix snapshots

* use more simple project for testing

* additional guard;

* fix test

* Apply suggestions from code review

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

* destroy aut after each spec

* update snapshot

* fix types

* add experiment flag error

* add warning when using experimental flag with e2e

* build binaries for experimentalSingleTabRunMode feature

* build binaries take 2

* make error message more open ended

* destroy AUT later in run mode lifecycle

* add additional assertion around experimental flag

* simplify error

* remove test code from production code

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-08-16 10:44:14 +10:00
mirobo
f7dce39876 fix: escape backslashes in downloadFolder for Firefox on Windows #17896 (#23006)
* fix: escape backslashes in downloadFolder for Firefox on Windows

* fix import of doubleEscape in packages/server/lib/browsers/firefox.ts

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

* don't run ls command on Windows

* Revert "don't run ls command on Windows"

This reverts commit deec721b06.

* chore: add unit test to verify double escape behavior

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Rachel <rachel@cypress.io>
2022-08-15 20:26:54 -04:00
semantic-release-bot
162ba8e75d chore: release @cypress/webpack-preprocessor-v5.12.2
[skip ci]
@cypress/webpack-preprocessor-v5.12.2
2022-08-15 19:04:53 -04:00
semantic-release-bot
97f9ed91fe chore: release @cypress/webpack-dev-server-v2.2.0
[skip ci]
@cypress/webpack-dev-server-v2.2.0
2022-08-15 19:04:41 -04:00
semantic-release-bot
2fb4b7ba9b chore: release @cypress/vite-dev-server-v3.1.1
[skip ci]
@cypress/vite-dev-server-v3.1.1
2022-08-15 19:04:29 -04:00
semantic-release-bot
2f8388b9b5 chore: release @cypress/react18-v1.0.1
[skip ci]
@cypress/react18-v1.0.1
2022-08-15 19:04:17 -04:00
semantic-release-bot
62bf8c0bbe chore: release @cypress/react-v6.1.1
[skip ci]
@cypress/react-v6.1.1
2022-08-15 19:04:06 -04:00
semantic-release-bot
312d9cbfba chore: release @cypress/eslint-plugin-dev-v5.3.2
[skip ci]
@cypress/eslint-plugin-dev-v5.3.2
2022-08-15 19:03:53 -04:00
Zach Bloomquist
4580330763 chore: WebKit support (development-only) (#15533) 2022-08-15 22:53:37 +00:00
Matt Schile
eb837c4b60 chore: merge develop (10.5.0 release) into master 2022-08-15 16:37:25 -06:00
Matt Schile
3c172a1fc0 chore: [skip ci] update package.json version to 10.5.0 (#23352) v10.5.0 2022-08-15 15:51:20 -06:00
Bill Glesias
17f430768b Merge branch 'master' into develop 2022-08-15 12:29:07 -04:00
Mike Plummer
b91e4e3c2d feat: Flake Indicator ACI (#23049) 2022-08-15 11:12:09 -05:00