Commit Graph

4561 Commits

Author SHA1 Message Date
Brian Mann 511bbf41aa revise PLUGINS_INVALID_EVENT_NAME_ERROR error 2022-02-22 09:59:37 -05:00
Brian Mann a679a7c7e1 revise CONFIG_FILE_UNEXPECTED_ERROR error 2022-02-22 09:59:15 -05:00
Brian Mann 7314e5a0aa revise CONFIG_FILE_SETUP_NODE_EVENTS_ERROR error 2022-02-22 09:58:20 -05:00
Brian Mann 9ef922583a revise SETUP_NODE_EVENTS_IS_NOT_FUNCTION error 2022-02-22 09:57:23 -05:00
Brian Mann ebfaa7600e revise MULTIPLE_SUPPORT_FILES_FOUND error, accept array of strings for formatting 2022-02-22 09:56:17 -05:00
Tim Griesser 808b2c7002 Merge branch '10.0-release' into 10.0-release-merge-4b50f9ee
* 10.0-release:
  feat: Updating reporter panel's default width to match new designs (#20231)
  feat(unify): Login error states (#20204)
2022-02-21 20:17:37 -05:00
Tim Griesser 032ec60d38 fix spec failures 2022-02-21 19:21:19 -05:00
Tim Griesser 675b78f19f fix remaining test failures 2022-02-21 18:38:05 -05:00
Tim Griesser 73def69360 Fixing CONFIG_VALIDATION_ERROR / SETUP_NODE_EVENTS_IS_NOT_FUNCTION errors 2022-02-21 17:37:39 -05:00
Tim Griesser 7e8370a2a5 working through mapping error cases from develop 2022-02-21 17:07:46 -05:00
Tim Griesser d3b1969a75 update CONFIG_FILE_REQUIRE_ERROR 2022-02-21 16:23:48 -05:00
Tim Griesser 0beaaef4d2 remove plugins file not found error/test 2022-02-21 15:51:41 -05:00
Tyler Biethman 27fafde7ea feat: Updating reporter panel's default width to match new designs (#20231)
* feat: Updating default reporter width to 450px

* Updating component tests to account for new default panel 2 width

* Giving the cypress-in-cypress tests a little more room to breath

* Updating trigger test coordinate assertions to be have consistent results regardless of AUT scaling

* Updating scale assertion now that available width has changed
2022-02-21 13:28:08 -06:00
Tim Griesser 4478048a6a fix: serialize details when serializing the error 2022-02-21 14:00:27 -05:00
Mark Noonan 2997e0e129 feat(unify): Login error states (#20204) 2022-02-21 12:42:02 -05:00
Tim Griesser 28b4cc85ba fix: skip test that is no longer correct in 10.x 2022-02-21 11:23:42 -05:00
Tim Griesser 79e2297681 fix root system test & launchpad choose-a-browser spec 2022-02-21 10:12:46 -05:00
Tim Griesser 1c84831317 update deep import of @packages/errors 2022-02-21 10:11:55 -05:00
Brian Mann d14d5ccd0c remove fixtures after shutting down the project 2022-02-21 10:10:18 -05:00
Brian Mann 6b363eca2f fix invalid exports 2022-02-21 09:29:59 -05:00
Brian Mann 6f1353ed80 Merge branch '10.0-release' into 10.0-release-merge-4b50f9ee 2022-02-19 22:24:03 -05:00
Ryan Manuel cbc7cfc79a chore: fix server performance flake (#20280)
* chore: fix server performance flake

* rerun in circle

Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2022-02-18 19:31:00 -06:00
Brian Mann cc37d79c7d export stripAnsi onto the old errors object 2022-02-18 17:34:37 -05:00
Brian Mann bc73d956a8 export errors.theme, update imports not to require from deep inside packages 2022-02-18 17:09:09 -05:00
Brian Mann 6f2bccebd5 properly skip describe suites + tests and add TODO comments 2022-02-18 17:08:44 -05:00
Brian Mann 6ed3540cd5 fix test importing wrong strip_indent 2022-02-18 16:36:00 -05:00
Brian Mann 8576cd1f11 fix test assertion 2022-02-18 16:30:36 -05:00
Brian Mann 73c7631816 fix all the tests that escape "doesn\'t" to use string templates 2022-02-18 16:23:20 -05:00
Brian Mann 0a732c5010 add missing assertion from merge [skip ci] 2022-02-18 15:16:50 -05:00
Brian Mann da48210216 Merge branch '10.0-release' into 10.0-release-merge-4b50f9ee 2022-02-18 15:11:59 -05:00
Ryan Manuel 619571ec0f fix: connect to dashboard page when there are no existing projects (#20188)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-02-18 11:30:47 -06:00
Mark Noonan 5d8f875a7d feat(unify): show spec runner header in run mode (#20189)
Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-02-18 09:41:17 -05:00
Tyler Biethman d4fa37e652 test: Migrate more runner UI specs to app (#20118)
* Adding remaining reporter error tests.

* Removing existing integration spec file

* Removing existing runner fixtures for error specs

* Fixing ts lint

* Testing with less tests kept in memory

* Testing some cypress-in-cypress settings to improve run-mode performance.

* Reverting changes to doc_url specs

* PR Updates. Inverting default value for 'open in IDE' validation in an attempt to reduce test time.

* Cleaning up ported code

* Update system-tests/projects/runner-e2e-specs/cypress/fixtures/index.html

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

* Trying build workaround

* Bumping up parallelized builds for app integration tests

* Removing suspicious tests to validate CI build

* Removing more suspicious tests to test CI

* Trying to not scaffold every navigation

* Bumping resources for run-app-integration job. Updating reporter.errors specs to appropriately reduce AUT refreshes.

* Couple API tweaks

* test: Migrating runner hooks specs to app

* Removing unused helper from runner package; cleaning up a few things

* Updating yarn.lock

* fix: Migrating runner sessions ui tests to app

* test: Migrating runner's runner.ui tests to app

* test: Migrating runner retries ui tests to app

* Cleaning up a few things for consistency

* Fixing ts errors

* Removing tests for runner header that have existing coverage in app

* Working around detached elements in CI

* Still working around detached elements in CI

* Updating sessions.ui test to click more carefully. Adding bit more coverage around runner header and snapshot pinning.

* Update packages/app/cypress/e2e/runner/retries.ui.cy.ts

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Migrating issue specs. Updating TODOs. Hopefully addressing some flake.

* Stopping icon spin animation for percy snapshots

* WIP

* customPercyCommand.ts

* WIP: working on custom percy snapshots for hiding elements other than the reporter [skip ci]

* WIP: Adding naive mutation observer for reseting DOM mutations after snapshots [skip ci]

Got tired of tripping over types, I can add them when we're feature complete

* Implementing scoped snapshots throughout app/runner tests, let's see how percy output looks

* Adding more snapshots to runner tests.

* Using spec link as click target

* Stop taking snapshots of failed tests

* Scoping selector playground snapshots (though they're still unstyled)

* Addressing flake in virtualized spec list

* Drying up runner snapshotting

* Logging single percy snapshot that reflects proper viewport and overrides

* Updating describes to better match previous snapshot names

* Removing added snapshots to get more accurate better diff presentation in Percy

* Removing new runner.ui snapshots as well

* Adding a few PR recommendations. Updating one last spec name that was corrected for grammar and no longer matched. Updating/removing relevant TODOs.

* Updating to use anticipated default width for reporter

* Updating tests for consistency with previous snapshots

* Tying original command into promise chain

* Let's try that again

* Making percy command enqueuing explicit to test result

* Scoping down on some variables. Using defaults for sessions tests.

* Updating some overrides to see if visibility is handled inconsistently

* Whitespace vanquished, working session test updates back in for long command logs

* Viewport height is not reflected in snapshots, let's try forcing the height on the panel

* Forcing the height issue

* Let's try a minHeight on the percy command

* Cleaning up alterations made during percy exploration

* Trying to get a cleaner percy diff after merge

* Fix Percy to use 10.0-release branch as baseline image comparison

* add comments about temporary percy env vars

* Adding some doc for changes made to customPercyCommand

Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
2022-02-17 18:29:44 -06:00
Barthélémy Ledoux 3fbed9b81c fix: refactor function getFilesByGlob to use concat instead of isArray (#20245)
* fix: avoid using Array.isArray when possible

* fix: add one more refactoring

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

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-02-18 10:14:21 +10:00
Zachary Williams eba409b8f9 fix: migration hover/focus states (#20243)
Co-authored-by: ElevateBart <ledouxb@gmail.com>
2022-02-17 14:28:37 -06:00
David Munechika 3331c625c2 test(unify): Settings E2E Tests (#20126)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-02-17 11:33:16 -05:00
Tim Griesser 61e9f00517 fix: cleanup a few more tests/snapshot errors 2022-02-17 10:43:22 -05:00
Tim Griesser 6727893b1e fix: additional cleanup of errors following merge 2022-02-17 09:59:30 -05:00
Barthélémy Ledoux 7c6ee76b95 test: fix some windows tests (#20225) 2022-02-16 19:41:34 -06:00
Shawn Taylor e3ccbf9560 feat(unify): inline specs list tweaks (#20157) 2022-02-16 18:40:00 -05:00
Tim Griesser 9a1874d6a8 fix: clean up a few test failures 2022-02-16 17:07:53 -05:00
Tim Griesser 9307dc01ec fix: types for config changes 2022-02-16 16:14:27 -05:00
Alejandro Estrada 8ab32a3855 fix: rename folder instead of skip on migration (#20145)
Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-02-16 09:12:40 -07:00
Zach Bloomquist 73e936e289 test: clean up scaffoldMigrationProject (#20203) 2022-02-15 18:07:27 +00:00
Barthélémy Ledoux 047a5a8faf fix: migration on windows (#20063)
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2022-02-15 09:51:38 -06:00
Brian Mann 025f5cdda3 use proper method call 2022-02-15 02:30:50 -05:00
Brian Mann f076a64f3b rename clone -> cloneErr 2022-02-15 02:15:15 -05:00
Brian Mann b8fb9abece fix missing ref 2022-02-15 02:03:57 -05:00
Brian Mann 923ab0a9ba export additional properties on error, update refs, fix tests 2022-02-15 02:03:14 -05:00
Brian Mann e53e74f1f3 export what is called directly to avoid circular ref proxy that's unstubbable 2022-02-14 20:49:35 -05:00