Commit Graph

18403 Commits

Author SHA1 Message Date
Zach Bloomquist 467b2c9960 chore: only run Windows on main branches (#22822) 2022-07-15 22:45:16 +00:00
Mark Noonan 9a1e73f127 fix: respect CYPRESS_NO_COMMAND_LOG in env (#22641)
* avoid throwing error if reporter is not found

* make it safe to call `empty` when no element is found

* don't set up reporter without reporter root el

* expose "no command log" in window config object

* set up noCommandLog in runner ui store

* handle noCommandLog in open mode

* handle noCommandLog in Run Mode

* handle noCommandLog in runner styles

* don't clean up reporter if there's no reporter

* remove left 1px border in run mode always, not just for screenshots

* fix missing export

* add run mode test

* add open mode tests

* tweak comment

* minor test updates

* change variable name

* don't render reporter-related elements if hidden

* allow runner to still be cleaned up

* fix resizable panel assertion

* swith back to v-show for panels

* update tests
2022-07-15 17:46:52 -04:00
Zachary Williams 7e0de0b0d0 fix: map framework name to dependency that contains webpack (#22774) 2022-07-15 14:36:29 -05:00
Barthélémy Ledoux 97ec82009c fox: avoid removing the types from vue, vue2 when install (#22814) 2022-07-15 14:28:25 -05:00
Emily Rohrbough 2383cafa93 chore: ensure percy nonce updates with new workflow trigger (#22659)
* ensure nonce updates with new workflow trigger

* chore: ensure nonce updates with new workflow trigger

* Empty-Commit to generate new percy nonce

* whoops, wrong env
2022-07-15 13:16:07 -05:00
Haoqun Jiang 8678053f7d feat: support vite.config.mts and vite.config.cts (#22782)
It's added in Vite 3.0:
https://github.com/vitejs/vite/pull/8729
2022-07-15 12:29:48 -04:00
Zachary Williams 6d03596e03 test: fix flaky config error test (#22808) 2022-07-15 10:28:58 -05:00
Puranjay Jain 198b28d1d7 fix: for hosts typing in cypress.d.ts (#22718)
* Update cypress.d.ts

Fix the hosts typing in cypress typings file

* fix: Add ts type for hosts in a server base file
2022-07-14 22:30:55 -07:00
Mike Plummer cb81596d13 fix: Styling of specs list at small breakpoints (#22635)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-07-14 19:37:55 -05:00
Kukhyeon Heo e1b80e4c32 fix: show docs menu in column style when viewport is small. (#22411)
* fix: show docs menu in column style when viewport is small.

* use tailwind css

* organize test in context block

Co-authored-by: Rachel <Raquel.rudermano@gmail.com>
Co-authored-by: Rachel <rachel@cypress.io>
2022-07-14 15:41:41 -07:00
GitStart 90fe5027cd fix: format special characters correctly (#22537)
* Update packages/reporter/cypress/e2e/unit/formatted_message.cy.ts

Co-authored-by: Rachel <rachel@cypress.io>

* Update packages/reporter/cypress/e2e/unit/formatted_message.cy.ts

Co-authored-by: Rachel <rachel@cypress.io>

* Remove extra spaces

Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Rachel <rachel@cypress.io>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
Co-authored-by: Benjamin Mayanja <vibenjamin6@gmail.com>
2022-07-14 12:56:59 -05:00
Zachary Williams 1c44eae5d4 chore: add optimized deps to reduce CI flake for CT tests (#22564) 2022-07-14 13:39:43 +10:00
Mike Plummer c9e2c0a63c fix: Tooltip issues with ACI (#22650) 2022-07-13 20:08:16 -05:00
Mike Plummer 029f3c596b fix: UTM parameters for Latest Runs column (#22624)
* fix: UTM parameters for Latest Runs column

* Add UTM parameters to dashboard URL for Latest Runs content
* Update util function to work with URLs that have existing params

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-07-13 17:01:24 -05:00
Mark Noonan 5bd848c176 fix: update border color values (#22652) 2022-07-13 16:34:55 -04:00
Mark Noonan 70b9bc6793 fix: restore truncating behavior in Last Updated column (#22588) 2022-07-13 16:33:30 -04:00
Bill Glesias e16820b23e fix: absolute positioning element blackouts in cy.screenshot (#22756)
* add regression tests

* attempt to fix screenshot blacks basing blackouted element around container instead of body dimensions

* move blackout test to screenshot viewport suite and update snapshot

* add github issue to test
2022-07-13 15:16:50 -04:00
Tyler Biethman 782dfb7a90 test: Fixing system test with missing setup (#22767)
* test: Fixing test with missing setup

* Blank commit for percy
2022-07-13 12:16:53 -05:00
David Rubin c894206535 fix: Remove punctuation, shorten example comment (#22680)
* fix: remove punctuation, shorten example comment
2022-07-13 09:17:44 -07:00
Mark Noonan 1ccc90573f fix: avoid overflow issue in Firefox (#22620)
* fix: update positioning of runner

* remove isFirefox check

* Update packages/app/src/runner/useRunnerStyle.ts

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-07-12 14:00:49 +10:00
Rachel 871e54fa6b fix: remove projects from breadcrumbs entirely for non-global mode projects (#22073)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-07-11 11:02:54 -07:00
Zachary Williams a9476ecb3d fix: remove CT side effects from mount when e2e testing (#22633) 2022-07-11 10:52:20 -05:00
Stepan Kartashev 2880092c60 fix: change "resizable panels handlers" width to make it more convenient to use (#22473)
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-07-11 15:22:50 +10:00
Shawn McCabe 3afe3d4c36 fix: add missing types to exports (#22498)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-07-11 14:20:45 +10:00
Mike Plummer 67183f1670 fix: Keep copy button in view, remove button when file already written (#22510) 2022-07-01 17:12:57 -05:00
Mark Noonan 3f751a05a8 docs: fix typo in review instructions (#22546) 2022-07-01 16:18:50 -04:00
Emily Rohrbough 950312608e chore(sessions): update command to use internal logGroup api (#22341)
Co-authored-by: Matt Schile <mschile@gmail.com>
2022-07-01 12:52:49 -05:00
renovate[bot] 169ec99ef5 chore(deps): update dependency got to v11.8.5 [security] (#22434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
2022-07-01 10:54:45 -05:00
Adam Stone a80c863685 fix: Correctly catch and clear errors during resetErrorAndLoadConfig mutation (#22514) 2022-07-01 10:14:02 -04:00
Zachary Williams 6e2dce039e fix: ignore WebSwapCGLLayer warning (#22607) 2022-07-01 09:37:34 +10:00
Zachary Williams 62199b7379 fix: cypress-schematic ci issue with @types/eslint (#22636) 2022-06-30 17:05:18 -05:00
Vinicius Pietscher f4cab0a2ba fix: Remove autocomplete from inputs in Cypress UI #22102 (#22456) 2022-06-30 16:40:47 -04:00
Barthélémy Ledoux c67b75020d refactor: make shiki load all its deps upfront (#22114)
* refactor: make shiki load all its deps upfront

* finish some shiki adjustments

* fix type check

* rollback shiki upgrade

* add convert comment and simplify lang variable name

* use a switch statement
2022-06-30 14:13:37 -05:00
Chris Breiding 5573fe50b0 fix: Make cross-origin document.cookie work (#22594) 2022-06-30 14:03:21 -04:00
Vinicius Pietscher 2b3ab9ac71 fix: add padding to bottom of global mode list (#22112)
* fix: add padding

* fix: add padding (#21724)

* Update packages/launchpad/src/global/GlobalPage.cy.tsx

Co-authored-by: Mark Noonan <mark@cypress.io>

* no longer necessary for this fix

* no longer necessary padding will be added to Main.vue

* add bottom padding

* add percy test

* move percy snapshot out of helper function

Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
2022-06-30 11:58:49 +10:00
Adam Stone 6fefe7d48b fix: Require react-dom as a dependency for React projects (#22572)
* fix: Require react-dom as a dependency for React projects

* fix: Update tests

* fix: Add react-dom as required dependency for Nextjs projects

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-06-30 08:05:36 +10:00
Tim Griesser 88b10e8f50 chore: Remove @tgriesser from CODEOWNERS (#22605) 2022-06-29 17:04:21 -04:00
Blue F d378ec423a chore: Refactor chainer / Commands.add for readability (#22571)
* Refactor chainer / Commands.add for readability

* Fix invoking wrong function, add comment
2022-06-29 12:43:31 -07:00
Buluc-Celik-Ozbul b1a51f9b49 fix: Proxy-Authorization: Basic (#22471)
Co-authored-by: buloheart <buloheart@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-06-29 16:17:02 +10:00
Tyler Biethman 9658e9f4a6 test: Addressing yet more flaky windows tests (#22569)
* test: Updating more flaky windows tests

* Adding the missing context to the windows builds that I missed earlier
2022-06-29 09:01:52 +10:00
kemptosa d7218aab7e docs: Fix links to kitchensink examples (#22464)
* Fix links

* docs: Fix links to kitchensink examples

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-28 16:06:44 -05:00
Emily Rohrbough 61f8bdc0de chore: updating version for 10.3.0 (#22566) v10.3.0 2022-06-28 13:14:59 -05:00
Tyler Biethman f902b96897 chore: Adding record key context for internal ui jobs (#22559)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-28 11:27:27 -05:00
Kukhyeon Heo 54e31e3243 chore: Improve pkg/driver types part 2 (#21610)
* keyboard.ts

* mouse.ts

* chai.ts

* xhr.ts

* snapshots.ts

* overrides.ts

* command_queue.ts

* fix errors.

* fix tests.

Co-authored-by: Blue F <blue@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
2022-06-28 09:09:51 -07:00
Lachlan Miller c0ea9bdaa5 fix: use posix path for ts-node loader (#22550)
* fix: distribute files to machines for external contributors. (#22326)

* fix: distribute files to machines for external contributors.

* fix path

* fix

* fix glob

* fix

* fix glob pattern spec->cy.

* fix

* echo things.

* test

* use cd.

* fix component tests.

* test

* test

* fix

* refactor

* test distribut-step

fix error
fix
fix
test
TEST

* Revert "test distribut-step"

This reverts commit 15c36065ca.

* Revert "refactor"

This reverts commit 21a8ad9211.

* reduce flake by increasing viewport height

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* fix: add baseUrl to TestConfigOverrides (#22445)

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* handle white space when registering ts-node using --require

* update test project

* move config

Co-authored-by: Kukhyeon Heo <sainthkh@naver.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Ishan Madhusanka <ahtimadhusanka@gmail.com>
2022-06-28 09:00:06 -05:00
Ishan Madhusanka 5d5574e1bb fix: add baseUrl to TestConfigOverrides (#22445)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-06-28 11:14:38 +10:00
Kukhyeon Heo 9101a9066c fix: distribute files to machines for external contributors. (#22326)
* fix: distribute files to machines for external contributors.

* fix path

* fix

* fix glob

* fix

* fix glob pattern spec->cy.

* fix

* echo things.

* test

* use cd.

* fix component tests.

* test

* test

* fix

* refactor

* test distribut-step

fix error
fix
fix
test
TEST

* Revert "test distribut-step"

This reverts commit 15c36065ca.

* Revert "refactor"

This reverts commit 21a8ad9211.

* reduce flake by increasing viewport height

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-06-28 09:22:43 +10:00
Muaz Othman 4726ea90a9 feat: Display Cypress Dashboard metrics in the Specs Explorer (#21250)
Co-authored-by: Muaz Othman <muazweb@gmail.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Mike Plummer <mikep@cypress.io>
Co-authored-by: Peter Stakoun <peter@stakoun.com>
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-06-27 17:37:36 -05:00
Tyler Biethman 24052eb62a test: Addressing launchpad test flake in Windows (#22536)
* test: Bumping timeout on breadcrumb state checks for Windows

* todos project was missing component index but has component testing configured

* Adding key to links to ensure attrs are cleaned up/reset

* Coercing boolean keys to strings to match vue key types
2022-06-27 14:24:33 -05:00
renovate[bot] fac83fd451 chore(deps): update dependency semantic-release to v19 [security] (#22238)
* chore(deps): update dependency semantic-release to v19 [security]

* chore: try moving to semantic-release 18

* chore: update jasmine-core to 3.8.0

* chore: update semantic version 19.0.3

* fix: update test to deal with npm obscuring internal error code

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2022-06-27 12:35:58 +10:00