Commit Graph

416 Commits

Author SHA1 Message Date
Kukhyeon Heo cfaf1ad82c feat: Add timeout period to retry error message (#9123) 2020-12-16 13:26:16 +06:30
seongwon-kang 9543a42272 feat: Update specs-list to show folder first, then file (#9255)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-12-03 15:05:15 +06:30
Luke Page 0b07e8f789 feat: add scrollBehavior option (#8837)
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2020-11-30 16:04:18 -05:00
Chris Breiding ca25a27449 chore: Refactor reporter tests (#9210)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-23 23:06:38 -05:00
Zach Bloomquist 6c0154ce8e feat(net-stubbing): rename cy.http to cy.intercept (#9283)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-23 13:52:28 -05:00
Ben Kucera 9f3528d1d9 fix: negated assertions passing w/o existence check (#9239)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-20 14:42:21 +06:30
Jennifer Shehane bb0d98d3c6 Merge branch 'develop' into v6.0-release 2020-11-17 22:38:39 +06:30
Zach Bloomquist 3fec100397 feat: deprecate cy.route(), remove experimentalNetworkStubbing flag (#9185)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-17 10:56:19 -05:00
Gleb Bahmutov 1cbd8014c0 fix: prevent crash when selected spec is undefined (#9160) 2020-11-14 16:24:48 +06:30
Jennifer Shehane e2a5de0104 Merge branch 'develop' into v6.0-release 2020-11-14 14:23:50 +06:30
Zach Bloomquist 3d0d1d89de feat(net-stubbing): rename cy.route2 to cy.http (#9182)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-14 14:22:21 +06:30
Chris Breiding 82d2968e17 fix: Handle non-error empty objects from release notes service (#9134) 2020-11-09 11:11:19 -05:00
Jennifer Shehane e58f132209 Add more percy snapshots throughout Desktop GUI tests (#9087) 2020-11-04 23:53:44 +06:30
Gleb Bahmutov 5610f4dbe9 feat: working on running all component tests together (#8703)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-03 09:15:27 -05:00
Kevin Grüneberg 9c80fc83be feat: Copy to clipboard button for settings/runs in desktop GUI (#9003)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-03 15:29:55 +06:30
Chris Breiding 757ddc81c0 feat: Add release notes modal (#9006) 2020-11-02 09:32:27 +06:30
Ben Kucera 1f75c81964 fix: use modern cli compile target, remove unneeded polyfills (#8938)
Co-authored-by: Kukhyeon Heo <sainthkh@naver.com>
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
2020-10-26 10:39:49 -04:00
gvdp bbc13689a8 refactor: replace momentjs in desktop (#8959)
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2020-10-26 15:59:09 +06:30
renovate[bot] 61fbbe9f36 chore(deps): update dependency @cypress/json-schemas to version 5.35.1 🌟 (#8944)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-23 18:17:32 +06:30
Chris Breiding 4db37e946d feat: Add notification in Desktop GUI when there is a new version available (#8803)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-10-13 10:05:25 -04:00
Marcos RJJunior 1f8c79fc7c style: dashboard banner z-index (#8745)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-10-07 14:00:01 +06:30
Chris Breiding ae5cd841f6 feat: Redesign Desktop GUI updates modal (#8751)
Co-authored-by: CypressAdam <adam@cypress.io>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-10-06 10:06:55 -04:00
Chris Breiding 4f5be35da3 chore: Update Desktop GUI footer design (#8702)
Co-authored-by: CypressAdam <adam@cypress.io>
2020-10-06 12:27:12 +06:30
Jessica Sachs dbc50d550f Merge pull request #8668 from cypress-io/59ceab5e8-master-into-develop 2020-09-28 13:41:16 -04:00
Zach Bloomquist 10b9a5b172 feat: take Firefox support out of beta (#8586) 2020-09-25 13:47:04 -04:00
Zach Panzarino 79494fc080 fix(webpack-preprocessor): update webpack preprocessor for monorepo (#8666)
* update webpack preprocessor for monorepo
2020-09-24 21:08:56 -04:00
Gleb Bahmutov 17e99b0dab chore: expand browsers component spec (#8286)
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-09-11 09:49:07 -04:00
renovate[bot] aed0e62e89 chore(deps): update dependency @reach/dialog to v0.10.5 (#8332)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-08-21 14:38:19 +06:30
renovate[bot] ace360279d chore(deps): update dependency @cypress/json-schemas to v5.35.0 (#8329)
* chore(deps): update dependency @cypress/json-schemas to v5.35.0

* test instance/new runs against schema

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-08-21 13:27:05 +06:30
Zach Bloomquist 204cb016ff fix(desktop-gui): remember last browser used w/ non-default channel (#8284) 2020-08-15 12:38:18 -04:00
Jennifer Shehane de175d910d Merge pull request #7753 from cypress-io/v5.0-release
feat: v5.0 release
2020-08-13 21:34:17 +06:30
Jennifer Shehane cb19f77c01 fix(ui): Style of 'Waiting for browser login' button (#8269) 2020-08-13 09:50:27 -04:00
Ben Kucera 860a20af30 feat: support test retries (#3968)
* add retries e2e test

* restore runner/test/eslintrc

* use mocha pass event, move runner.spec to runner package

* fix .eslintignore

* remove npmInstall logic in helper/e2e script, force custom reporters to use our mocha

* temp 04/09/20 [skip ci]

* add retries output to server/reporter, fix mocha pass event order, cleanup

* e2e tests - dont run electron tests in other browsers

* Update readme to reflect how to start server for cypress tests

* fix after merge

* fix .coffee -> .js after merge

* fix attempt.tsx

* fix runnable titles emitted to terminal reporters

* fix more tests: update snapshots, fix 7_record_spec, 8_reporters_spec

* remove styling for 'attempt-error-region' so it's not indented

- This was the older styling before error improvements and is no longer
necessary.

* try 2: fix rerun before/after hooks

* fix runner with only, runner snapshots, lint fixes

* temp 04/29/20 [skip ci]

* backport changes from test-retries

* change logic to rerun before hooks after top navigation

* fix windowSize for browser e2e test

* fix windowSize for xvfb chrome in e2e test

* ok fine, just disable screenshots

* fix after merge: decaffed navigation.js

* update server/unit test snapshots

* fix after merge: decaffed aliases.js

* fix usage of cypress --parallel flag in circle.yml

* fix circle.yml integration-tests jobs

* fix decaf related typo

* fix circle.yml separate command for runner-integration-tests

* update runner/integration tests + snapshot after error improvements

* fix runner/integration snapshots for chrome/ff stacktrace differences

* rerun ci

* fix passing --parallel to runner-integration tests

* perf: faster lookup for hooks without runnables

* fix afterAll hook switch logic

* simplify mocha prototype patches

* fix decaf utils.coffee after merge

* backport to before/after fix

* backport to before/after fix 2

* cleanup from decaf, fix ui/package.json

* update helpers, simplify runner.spec

* fix lint-types errors, flaky spec

* fix noExit passed to e2e test inline options

* cleanup snapshot utility - refactor to use util file

* remove before/after changes

* make cy obj a class instance

* cleanup/unmerge before/after fixes PR...

* more cleanup

* add comment

* fix runner.spec

* cleanup snapshot utility more, cleanup reporter.spec

* fix after merge

* minor rename variable

* fix after merge: decaffed files

* fix specName in reporterHeader, spec_helper require

* replace reporter specPath usages with spec object from config

* cleanup, fix specs, fix types tests

* fix config spec paths in isolated runner, fix snapshot plugin button

* combine runner.spec.js and runner_spec.js

* fix incorrect merge

* minor minor cleanup

* rename driver/test/cypress to driver/test

* use yarn workspace over lerna for individual package commands

* add error message to driver start

* remove usage of wait-on

* update <reference types/>, import string

* fix driver/readme

* fix readmes after regex replace

* revert wait-on changes

* Revert "revert wait-on changes"

This reverts commit 6de684cf34.

* update yarn.lock

* fix broken path in spec

* fix broken paths in specs with @packages/driver

* move runner/test/cypress into runner/cypress

* start server in pluginsFile in runner/cypress tests

* fix more broken spec paths

* fix broken paths after runner/cypress folder move

* move type definition loading for driver/cypress into dedicated file

* move internal-types to "types" folder, fix driver/index.d.ts

* fix type-check in packages/runner. not exactly sure why

* fix runner type-check by excluding test folder in tsconfig

* bump timeout on e2e/8_error_ui_spec

* update snapshot utility, rename tests in runner/runner.spec, fix README yarn commands

* delete old spec

* fix snapshot naming, remove redundant test in reporter_spec

* fix file renames after merge

* rename runner/ snapshot

* update server/unit/reporter_spec snapshot

* update runner/runner_spec snapshot

* rename runner snapshot file

* address feedback: move server reporter snapshot specs out

* address feedback: add comment about exposing globals

* fix test-retries after merging isolated-runner

* fix runner/test helper, update snapshot

* address feedback: split out runner/retries spec, move reporter/ui tests to runner/ui spec (mostly done), various cleanup

* fix scrolling, attempt opening, update snapshots

* fix e2e support file

* fix 5_spec_isolation

* fix mislabeling attempt screenshots

* only add test results prevAttempts if exists

* fix reporter/unit tests, server/unit tests

* remove dead code, fix test isOpen

* update snapshots for retries.mochaEvents, fix snapshot error in state hydration test, remove dead snapshots

* new moduleAPI schema using attempts array, fix wrapping errors from hook retries, update snapshots

* add displayError, null out fields in moduleAPI schema

* change default retries to {runMode:2, openMode:0}

* fix reporter type-check

* upgrade json-schemas, update snapshots

* reformat error.stack to be only stacktrace, update snapshots

* fix stacktrace replacing in 5_spec_isolation

* fix navigation error causing infinite reloading, bump timeout on e2e/8_error_ui

* fix server/unit tests for new schema

* fix reporter/unit tests

* fix reporting duplicate screenshots using cy.screenshot during test retry

* update snapshot for 6_uncaught_support_file_spec

* bump x-route-version: 3

* fix test.tsx collapsible content, css, fix e2e/8_error_ui, e2e projects excluding retries

* fix css, fix padding in runnable-instruments, fix runner/integration tests

* fixup after merge

* fix reporter/runner to work with split hooks

* update api tests, runner/cypress tests, reporter

* fix 5_spec_isolation snapshots, fix runner/cypress errors.spec, fix null reference in test.tsx

* fix e2e/non_root spec, fix type_check, fix reporter/unit tests

* setup percy snapshots in runner/cypress, fix driver/runner test:after:run event, add tests for only,skip in runner/cypress, fix retried css

* add customPercySnapshot

* fix circle.yml

* fix circle.yml 2

* fix circle.yml 3

* add warning for incompatible retries plugin

* add more percy snapshots

* fix firefox screenshot resolution in e2e test

* Fix testConfigOverrides not affecting viewport (#8006)

* finish adding percy snapshots to runner/cypress retries spec, update error msgs, add tests to be fixed

* remove .only

* fixing missing repo argument

* fix testConfigOverrides usage with retries, fix test

* fix issues from previous merge

* add script that can query CircleCI workflow status

* add circleci job to poll

* add retries

* try yarn lock

* retry, percy finalize

* check for current running job

* do not swallow request error

* better print

* use job name from circle environment

* use debug instead

* renamed circle polling script

* refactor circle to conditionally run percy-finalize when env var is available

- pass job-names to wait on as an argument

* use multi-line strings and quote --job-names

- rename —circle-jobs to —job-names

* add comment

* only poll until the jobs to wait for are blocked or running

* fix running hooks at correct depth after attempt fails from hook and will retry, update e2e snapshots

* fix reporter/unit tests, remove unused toggleOpen code

* move custom percy command into @packages/ui-components and apply them to desktop-gui

* halt percy finalize job if env variable is not set

* if only I could code

* update runner/cypress mochaEvent snapshots, fix e2e firefox resolution

* fix css for attempt border-left, fix attempt-tag open/close icon, add color to attempt collapsible dot

* try percy set viewport width

* set default retries back to {runMode:0, openMode:0}

* formatting: add backticks to warning message

* write explicit test for screenshot overwriting behavior, fix snapshots after changing retries defaults

* fix e2e.it.only`

* cleanup whitespace

* update snapshots

* fix cypress module API types for new result schema

* build and upload binary for test-retries branch too (linux)

* add pre-release PR comment

* fix pre-release commit comment

* rename runner/cypress test

* update retries.ui.spec test titles

* fix after merge: use most recent attempt for before/after hooks

* add suite title to hook error in runner/cypress tests

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
2020-08-10 18:36:45 -04:00
Brian Mann 01cc5e96d0 block the percy snapshot until the collapsible animation has finished 2020-08-10 18:29:29 -04:00
Jennifer Shehane 9a1b4c61e8 Merge branch 'develop' into v5.0-release 2020-08-10 20:16:28 +06:30
Jennifer Shehane a882763f08 Merge branch 'develop' into v5.0-release 2020-08-10 20:14:11 +06:30
Jennifer Shehane ef25aa75c6 fix(ui): Runs tab intro (#8141)
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
2020-08-10 20:12:53 +06:30
renovate[bot] a54d79312e chore(deps): update dependency markdown-it to version .x 🌟 (#8183)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-05 14:22:27 +06:30
renovate[bot] 640505e1df chore(deps): update dependency react-inspector to version .x 🌟 (#8182)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-05 13:34:20 +06:30
Gleb Bahmutov fe96d7cf2a feat: run only filtered specs (#8007)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-07-30 10:29:21 -04:00
renovate[bot] d246272bca fix(deps): update dependency moment to version 2.27.0 🌟 (#8122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-30 18:02:19 +06:30
Chris Breiding f071b94cd7 Merge branch 'develop' into v5.0-release 2020-07-21 10:35:29 -04:00
renovate[bot] d734db0aa4 chore(deps): update dependency rc-collapse to version .x 🌟 (#8047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-21 13:48:17 +06:30
Zach Bloomquist b60abedc8b Merge remote-tracking branch 'origin/develop' into v5.0-release 2020-07-20 10:02:37 -04:00
renovate[bot] adff08c344 fix(deps): update dependency human-interval to version .x 🌟 (#8031)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-20 15:55:53 +06:30
Laís Tomaz 27e8c817d3 Rename configuration option blacklistHosts (#7622)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2020-07-13 15:16:19 +06:30
Brian Mann c72538d189 Fix lodash dupe dep (#7954)
* blow away yarn.lock

* bump lodash to 4.17.19

* reduce binary size again

* bump @types/node to correct version, fix types

* fix react + react-dom types

* add clean command for .ts conversion to .js files

* fix flaky test
2020-07-11 16:34:23 -04:00
Gleb Bahmutov 4825dbb115 Update cypress-react-unit-test, run desktop-gui component tests (#7792) 2020-06-26 13:07:51 -04:00
Zach Panzarino 759d87f167 Open spec file from desktop gui and refactor ui-components to typescript (#7747) 2020-06-24 13:51:50 -04:00
Zach Panzarino dc2b50d351 Add UTM parameters to Dashboard login buttons (#7639)
* Add UTM parameters to Dashboard login buttons

* Revert "Add UTM parameters to Dashboard login buttons"

This reverts commit 568f12e3cb.

* Add UTM parameters to Dashboard login buttons

* utmCode camel case

Co-authored-by: Zach Bloomquist <github@chary.us>

* Add desktop-gui integration tests for utm code

* Add server unit tests for utm code

Co-authored-by: Zach Bloomquist <github@chary.us>
2020-06-19 16:53:01 -04:00