Commit Graph

16767 Commits

Author SHA1 Message Date
Tim Griesser
bfc032a2d4 fix: open browser at correct time during lifecycle (#19572) 2022-01-12 13:41:25 -05:00
Tim Griesser
139d88d91f chore: remove unused types (#19621)
* Remove more unused types

* gql schema
2022-01-12 09:53:16 -05:00
Zachary Williams
f43be8ae40 fix: fileparts processing and cleanup (#19660) 2022-01-12 21:21:21 +10:00
Lachlan Miller
1f28650d68 chore: change integration->e2e throughout code base (#19345)
* hacky way to update snapshots

* new hack to update snapshots

* trying again

* hacky fix

* ci: snapshots

* ci: snapshots

* snapshots

* mas updates

* update spec API

* fix test

* fix test

* update

* update test

* fix test

* update plugin

* update spec

* webpack optinos

* Update launchpad tests

* fix screenshot paths

* updated snapshot

* change pattern

* guard

* fix smoke test

* patch code coverage

* update percy config

* fix specs

* try updating example project

* update snapshots

* remove old test

* remove snapshot hack

* add back appveyor

* remove old code

* update snapshot

* Fix tests

* wip

* revert snapshot

* reverted all snaps

* remove only

* remove commnet

* remove old code

* reverted file

* lint

* revert video compression spec

* update snapshot

* update spec path logic

* update snap

* updated snap

* snaps

* snaps

* fix spec

* rename ignoreTestFiles to ignoreSpecPattern

* update screenshot dir for runner-ct

* update deprecations

* update

* upate

* fix test

* update snaps

* update snap

* updating snap

* added missing snaps

* updated cypress run mode integration spec

* electron snapshot

* update default

* rename integration->e2e

* rename integration->e2e in packages

* spec.ts -> cy.ts

* spec.ts -> cy.ts

* _spec.js -> .cy.js

* .spec.js -> .cy.js

* .spec.js -> .cy.js

* update config

* update config

* update

* update spec ext

* update config

* update config

* ensure newly scaffold specs are cached

* fix launchpad spec

* types

* update test

* transpile based on spec pattern

* add back example

* remove unnecessary async and nodeVersion

* spec.tsx -> cy.tsx

* update stop-only config

* exclude CT from E2E

* removed old test

* update spec pattern in angular

* update spec pattern in design system

* update all specs npm npm/react

* update spec name

* update spec patterns

* remove old script

* update tests path

* update config

* fix test

* update snapshots

* update examples

* update ignore patterns

* update snapshots

* unit tests

* update tests

* patch code coverage

* revert spec name

* rename a lot of speces

* update

* update spec ext

* update spec

* update spec

* update spec ext

* update lint

* update rules

* update lint

* snaps

* update spec dir

* update paths

* remove unused pluginsfile config opt

* update smoke test

* update create cypress tests

* update gitignore

* update types

* update paths

* update spe

* update test

* update all snaps

* update tests

* update http request spec

* update spec file names

* snaps

* update snaps

* updated snaps

* update snaps

* spacing

* spacing

* spacing

* spacing

* fix perf spec

* update

* update

* revert

* update

* snaps

* snaps

* rename spec

* update snaps

* snapshots

* update tests

* update tests

* update

* fix

* update test projects

* update

* updating

* update run-ct test

* update spec pattern and add defensive check around platform

* fix system test script

* update snap

* snaps

* update test

* update spe

* update for FF

* ff

* remove unused feature flag

* added tests

* fix react example

* update test

* update config

* update test projects

* update snapshots

* correctly remove private prefix on darwin

* fix types

* rename integration -> e2e

* update config

* updatec onfig

* fixing app scaffold integration tests

* remove code

* exclude e2e specs from CT

* update snapshot

* integration->e2e

* update path for test file in ts project

* update schematic

* use updated branch for CI

* update config

* update config

* revert some changes

* remove built code

* revert changes

* update gitignore

* include test spec

* update scaffold script

* wip: renames

* script

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* mass rename

* rename

* rename

* fix angular

* update spec in create cypress tests

* remove old file

* fix tests

* access specPattern in a more idiomatic fashion

* do not duplicate variable

* pass correct params to findSpec in files controller

* add comment explaining spec finding

* remove reference to old file that no longer exist

* resolve conflicts

* fix types

* transpile cypress dir

* update circle ymlg

* update spec pattern for example project

* supportFile: false

* fix circle yml

* update test glob

* rename some specs to use correct .cy ext

* more ext renames

* rename spec

* update extensions

* update extensions

* update specs

Co-authored-by: estrada9166 <estrada9166@hotmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-01-11 16:29:55 +10:00
Mark Noonan
0897b5f70d fix(unify): correct location of snapshot pinning UI in runner (#19640) 2022-01-10 18:24:10 -05:00
Zachary Williams
114ce10fc0 fix: runnable header open in IDE and filename (#19630)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-01-10 17:17:27 -06:00
Mark Noonan
ff6b2cc346 feat(unify): allow prompts to auto-open after set time (#19571) 2022-01-10 15:26:55 -06:00
Tyler Biethman
2ce2524721 test(unify): Additional navigation tests for log in workflows (#19574)
* test(unify): Additional navigation tests for log in workflows

* Couple tweaks for better coverage and dryer tests

* Adding unit test coverage for window focusing after auth completion.

* Thank you tslint

* Updating LoginModal component test

* Adding PR feedback
2022-01-10 12:30:03 -06:00
Shawn Taylor
55c9bde164 fix(unify): minor UI bugs in the reporter (#19445)
Co-authored-by: Mark Noonan <oddlyaromatic@gmail.com>
2022-01-10 09:35:50 -06:00
Emily Rohrbough
1fa95e2e29 fix: surface openSSL unhandled rejection errors that occur within plugin code (#19598) 2022-01-10 09:23:27 -06:00
Zachary Williams
f953c59e9a feat: add spec watcher to data-context (#19583)
* feat: add spec watcher to data-context

* fix typo

* attempt to fix flake

* fix path.join

* if this fixes it I'm going to be upset

* remove unused code

* address comments
2022-01-10 12:30:38 +10:00
Mark Noonan
1c17a0ff54 chore: remove unused components (#19618)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-01-07 16:01:48 -06:00
Barthélémy Ledoux
1773001c54 fix: dev-server types (#19576) 2022-01-07 14:41:36 -06:00
Mark Noonan
4b3adc944d test: ct audit updates (#19464)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-01-07 13:38:35 -05:00
Lachlan Miller
a1906e6996 chore: fix temporarily skipped specs on 10.0-release (#19611)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-01-07 10:47:36 -07:00
ElevateBart
d504d00166 fix: remove gremlins characters from cypress types 2022-01-07 09:40:00 -06:00
Lachlan Miller
2be8e16d4c freeze ipc 2022-01-07 13:41:35 +10:00
Lachlan Miller
424ae9ac24 fix test 2022-01-07 13:39:59 +10:00
Emily Rohrbough
9c6da31123 test(launchpad): add e2e tests for Project View - Global mode (#19267)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2022-01-06 15:20:11 -06:00
David Munechika
695d8d66e2 test(unify): Left Nav E2E Additional Tests (#19428) 2022-01-06 14:58:11 -05:00
Barthélémy Ledoux
0171da81d1 ci: publish test artifacts for frontend-shared & app too (#19592) 2022-01-06 11:12:27 -06:00
Barthélémy Ledoux
9b79503ac8 fix: union type to work in graphql tests (#19447)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2022-01-06 09:21:02 -06:00
Alejandro Estrada
0366d4fa89 feat: use supportFile by testingType (#19364)
* feat: use supportFile by testingType

* Fix defaults

* Start renaming files, and updating system-tests

* Fix some tests

* Fix some tests

* Fix more tests

* Try to fix CI

* Fix more tests

* Fix some tests

* Revert changes

* Revert supportFile defaultValue

* Fix some tests

* Fix some tests

* Fix some tests

* Fix some tests

* Update supportFile example

* Update snapshots

* Remove scaffold support

* Handle config errors

* Remove scaffold

* Fix tests

* Fix test

* Update test

* Fix test

* Update supportFile template

* Fix template
2022-01-05 13:37:44 -05:00
Blue F
59703a6169 test: Add a couple of project setup e2e tests (#19295)
* Add a couple of project setup e2e tests
* Bring up to date with 10.0-release changes
* Fix TS complaining about welcome step

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2022-01-04 15:13:09 -08:00
Zachary Williams
0d51a9252b fix: make switching testing types work (#19554) 2022-01-04 16:26:52 -06:00
Barthélémy Ledoux
8c7c956d4d fix: project settings config code improvements (#19477) 2022-01-04 14:24:25 -06:00
Lachlan Miller
792980ac12 feat: support specPattern, deprecate integrationFolder and componentFolder (#19319)
* use new specPattern API

* remove projectApi.findSpecs

* do not require integration folder

* support --spec

* support --spec

* remove old code

* remove old code

* nuke old code

* no appvetor

* update

* correct url for ct

* work on migrating launchpad

* update ct spec url

* types

* types

* dead code

* remove old endpiont

* revert back circle.yml

* update missing config

* delete spec util

* update config

* update config

* config again

* update spec pattern

* updated vue config

* update spec pattern for ui components

* update config for vite dev server

* update snapshots

* update config

* update design system config

* fix spec pattern in reporter

* update default

* update deprecated spec snapshots

* update system tests

* update run mode output

* revert changes

* lint

* remove scaffold tests

* update angular

* fix CT

* update circle yml

* fix system tests for ct

* fix tests

* work on server unit tests

* patch package

* patch package again

* update test

* try not to rely on config async loading too much

* normalize specPattern to array

* update snapshot

* use base name

* deal with react-scripts later

* update snapshot

* hacky way to update snapshots

* new hack to update snapshots

* trying again

* hacky fix

* ci: snapshots

* ci: snapshots

* snapshots

* mas updates

* update spec API

* fix test

* fix test

* update

* update test

* fix test

* update plugin

* update spec

* webpack optinos

* Update launchpad tests

* fix screenshot paths

* updated snapshot

* change pattern

* guard

* fix smoke test

* patch code coverage

* update percy config

* fix specs

* try updating example project

* update snapshots

* remove old test

* remove snapshot hack

* add back appveyor

* remove old code

* update snapshot

* Fix tests

* wip

* revert snapshot

* reverted all snaps

* remove only

* remove commnet

* remove old code

* reverted file

* lint

* revert video compression spec

* update snapshot

* update spec path logic

* update snap

* updated snap

* snaps

* snaps

* fix spec

* rename ignoreTestFiles to ignoreSpecPattern

* update screenshot dir for runner-ct

* update deprecations

* update

* upate

* fix test

* update snaps

* update snap

* updating snap

* added missing snaps

* updated cypress run mode integration spec

* electron snapshot

* ensure newly scaffold specs are cached

* fix launchpad spec

* types

* update test

* transpile based on spec pattern

* add back example

* remove unnecessary async and nodeVersion

* removed old test

* update spec pattern and add defensive check around platform

* remove unused feature flag

* added tests

* fix react example

* update test

* update config

* fix spec finding in run mode

* fix tests

* fixing specs

* fix switching between specs

* remove invalid test

* increase timeout

Co-authored-by: estrada9166 <estrada9166@hotmail.com>
2022-01-04 14:24:24 +10:00
Tim Griesser
a744999c24 refactor: remove concept of liveMutation (#19528)
* refactor: remove the concept of liveMutation

* fix types

* Fix types

* add missing cache key

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-01-04 11:19:31 +10:00
Tyler Biethman
3f936fbbe7 chore: Adding validateExternalLink command to increase e2e coverage of external links (#19462)
* Adding command to validate presence and action of external links.

* Updating link validation in other tests

* Condensing this a bit

* Don't log the wrapping
2022-01-04 11:05:52 +10:00
Tim Griesser
462925eb76 chore: remove vite-plugin-favicon, add a simple favicon path (#19527)
* chore: remove vite-plugin-favicon, add a simple favicon path like existing runner

* chore: update yarn.lock

* feat: simplify favicon generation

* fix: remove / and . from the dest path

Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-01-03 16:38:38 -05:00
Barthélémy Ledoux
76466691dd feat: implement the ui for migration to 10.0 (#19371) 2022-01-03 14:42:08 -06:00
Tim Griesser
82446df059 chore: remove merged circle branches, temporarily skip failing tests (#19521)
* chore: remove merged circle branches, temporarily skip failing tests
* fix: make the runs page network-only fetch
2022-01-03 13:09:53 -05:00
Ryan Manuel
a45b70de52 test: Selector playground CT tests (#19413) 2022-01-03 10:59:41 -06:00
Blue F
daee6a6bdc fix: Replace wmic with win-version-info (#19369)
* Replace wmic with win-version-info
2022-01-03 08:31:43 -08:00
Blue F
6d10a7faff feat: cy.selectFile() (#19332)
* feat: cy.attachFile with passed-in contents (#18825)
* feat: attachFile string shorthands (#19045)
* feat: Add drag-n-drop support (#19213)
* Remove cypress-file-upload
2021-12-22 09:03:27 -08:00
Tim Griesser
4626f7481c feat: ProjectLifecycleManager & general launchpad cleanup (#19347)
See #19347 for full summary

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: estrada9166 <estrada9166@hotmail.com>
Co-authored-by: Alejandro Estrada <estrada9166@gmail.com>
Co-authored-by: Jess <jess@jessicasachs.io>
2021-12-21 21:28:44 -05:00
Jess
67c42fccee chore: apply ux feedback (#19286)
Co-authored-by: Mark Noonan <oddlyaromatic@gmail.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
2021-12-21 20:12:05 -05:00
Barthélémy Ledoux
edccfc933d feat: add favicon to the app to avoid 404 (#19416)
* feat: add a favicon to the app

* make it work on M1

* chore: add comment in plugin configuration

* update sharp
2021-12-22 10:52:05 +10:00
Tyler Biethman
b441950fcf test: Adding Choose a Browser E2E Tests (#19268)
* Adding e2e tests for Choose a Browser page

* Adding test for browser launch

* Additional validation for browser launch

* Add own todo

* Prevent browser from opening during launch test

* Cleaning up tests a bit, fixing bug in warning dismissals temporarily

* Updating tests to follow new setup APIs

* Adding test case and aligning with spreadsheet.

* Updating tests with data-cy usage

* Fighting types a bit

* Cleaning up some TS warnings. Applying some PR feedback.

* Fixing test that was using wrong test id attr

* Fixing tests

* accessibility fix

* Updating tests with PR recommendations and accessibility tweaks

* update getter

* Adding test simulating Electron injection workflow

* Updating no browsers test case

* Fixing tests after merge

Co-authored-by: Mark Noonan <mark@cypress.io>
2021-12-21 17:06:47 -06:00
Zachary Williams
85417f3b98 feat: route and scroll to settings (#19312) 2021-12-21 15:13:10 -06:00
Zachary Williams
fdd56d23a0 fix: various UI fixes from review session (#19418) 2021-12-21 13:19:51 -06:00
Barthélémy Ledoux
427b1679f6 fix: remove copy button when not available (#19417) 2021-12-21 10:01:23 -06:00
Tyler Biethman
7b41115260 test: Adding tests for Page Top Nav workflows (#19375)
* WIP

* Adding browser tests

* Adding versions tests

* Adding docs tests

* Don't need to launch with firefox here

* Updated existing tests to use data-cy

* Adding test command for browser setup. Updating tests with PR feedback

* Adding basic login tests

* Fixing tests in merge

* More PR feedback

* Updating tests with data-testid usage

* Fixing test selector
2021-12-21 09:26:23 -06:00
Cesar
341e54b32c fix: fuzzy sort accuracy (#19420)
* wip

* fix fuzzy sort

* fix types

* fix types

* fix tests

* fix last character not being highlighted

* delete fuzzySortSpecs.ts

* fix types

* resolve conflicts

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-12-21 16:25:22 +10:00
Lachlan Miller
a33b4004d3 Merge pull request #19433 from cypress-io/2021-12-21-merge-develop-10.0-release
chore: merge in develop to 10.0-release
2021-12-21 12:39:37 +10:00
Lachlan Miller
4772331953 resolve conflicts 2021-12-21 09:50:21 +10:00
Lachlan Miller
999ffd99dd merge in origin 2021-12-21 09:49:57 +10:00
Barthélémy Ledoux
9058e2f23b build: fix dev process on windows (#19401)
* build: fix dev process on windows

* build: reuse "spawned" function

* Revert "build: reuse "spawned" function"

This reverts commit 67289c281a.

* use winSpawn for spawned too

* refactor: rename uSpawn function
2021-12-21 08:58:26 +10:00
Kukhyeon Heo
325094556d fix: cy.contains() ignores <style> and <script> without removing them. (#19424)
* fix

* Merge tests.

* fix

* Apply suggestions from code review

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

* kick off build again

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2021-12-20 14:34:12 -08:00
Jennifer Shehane
593d4b83a5 chore: Fix the broken codeowners automation (#19431) 2021-12-20 15:44:12 -06:00