Commit Graph

16454 Commits

Author SHA1 Message Date
Tim Griesser 8eaebc3d16 fix: build-prod-ui deps before build-prod packages 2021-11-16 10:23:02 -05:00
Cesar 651b91b247 feat: implement spec list tree (#18901)
* feat: create spec tree

* improve types

* feat(app): add tree list to spec page (#18913)

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

* address comments

* update style

* better types

* remove unused code

* remove old code

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
2021-11-16 23:18:12 +10:00
Jessica Sachs 1ede124034 Merge branch '10.0-release' of https://github.com/cypress-io/cypress into 10.0-release 2021-11-15 16:13:42 -05:00
Jessica Sachs 99c654381a chore: adding 10.0-release to the circle.yml build script (#18926) 2021-11-15 16:12:59 -05:00
Lachlan Miller ded63adeb2 feat(app): remove __vite__ route and default to unified runner (#18909)
Co-authored-by: Mark Noonan <mark@cypress.io>
2021-11-15 12:32:10 -05:00
Barthélémy Ledoux cdc8c421b8 fix: app layout + specs list review (#18862)
* fix default layout

* Know where to find the specs

* make specs line oveflow

* reset base.scss

* and fix a dancing hover on buttons

* fix typescript check

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-11-15 11:04:47 +10:00
Lachlan Miller c670ae672c feat(app): show previous versions (#18838)
* add gql endpoint and format

* types

* update schema and endpoint

* unused code

* lint

* types

* improve tests

* move static strings to i18n

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-11-15 10:03:14 +10:00
Zachary Williams c66a890229 feat: scaffold integration files in app (#18763) 2021-11-15 09:44:49 +10:00
Barthélémy Ledoux 9e70f1de5a feat: add footer to the settings (#18867)
* feat: add footer to the settings

* update i18n

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-11-15 09:41:39 +10:00
Blue F f967908704 fix: Exit when both --e2e and --component flags are passed in (#18855)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-11-12 09:15:10 -08:00
Tim Griesser d65a6df9bf refactor: move currentProject to root data (#18834) 2021-11-11 21:19:31 -05:00
Tim Griesser 88280153e9 chore: additional app shape cleanup (#18826) 2021-11-11 20:44:13 -05:00
Jessica Sachs 5165a8ee31 feat(useCollapsibleTree): adding support for building expandable and collapsible trees (#18860)
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
Co-authored-by: Cesar Avitia <cesar@cypress.io>
2021-11-09 20:26:20 -05:00
Barthélémy Ledoux 40fd292dec feat: reconcile terminal command components (#18853) 2021-11-09 20:24:39 -05:00
Barthélémy Ledoux 2ffcf08989 feat: setup keyboard shortcuts modal (#18864) 2021-11-09 20:20:17 -05:00
Zachary Williams 008069979a feat: inline spec list header (#18863)
Co-authored-by: Cesar Avitia <cesar@cypress.io>
2021-11-09 19:41:14 -05:00
Cesar 6fcfc08964 feat: Runner spec list (#18821)
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
2021-11-09 16:52:57 -05:00
Barthélémy Ledoux e83ac6995d fix: mutation conflict (#18854) 2021-11-09 12:19:40 -06:00
Shawn Taylor 02f3acbab8 feat(unify): reporter icons (#18692)
* update icons

* use a component for state icons instead of sass extends

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-11-09 12:30:56 -05:00
Tim Griesser 04c898a54a fix: currentTestingType (#18851) 2021-11-09 10:59:18 -05:00
Mark Noonan 1f0221a5a4 feat(unify): Open external links in user's default browser (#18780)
* initial setup for external links in launchpad

* move external link click into its own file

* basic type

* remove target from links to avoid confusion

* add e2e tests for opening external links in App and Launchpad

* remove checks for target blank from tests

* add base link and external link components

* initial pass to update all links

* allow for variants without hocus

* convert links, remove target attr

* remove old external link util

* cleanup

* readme updates

* add test

* move test to Base Link

* add some tests around button links

* move openExternal import

* fix imports

* whitespace issues

* update link

* allow for tailwind override

* fix type error

* some changes from PR feedback

* remove unused import

* fix test

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-11-09 23:57:18 +10:00
Lachlan Miller 339da7063a feat(app): selector playground (#18813)
* wip: selector playground in vue

* wip

* remove old code

* close selector playground when changing spec

* do not use mobx selector playground in unified

* correctly toggle type

* update

* tests

* add back in mouse over functionality

* add styles

* style

* fix tests

* remove unneeded import

* remove unused types

* remove commented out code

* lint

* linting

* remove comment

* improve type safety
2021-11-09 23:22:19 +10:00
Alejandro Estrada 8add3b53fc feat: Use graphql eslint rules (#18832) 2021-11-08 23:35:48 -05:00
Tim Griesser 4929c85c77 fix: share urql cache keys between client & server (#18836) 2021-11-08 23:35:27 -05:00
Tim Griesser 2cf78aab92 refactor: consolidate data-context (#18776) 2021-11-08 23:13:18 -05:00
Tim Griesser f57a6ee410 chore: remove dead code (#18833) 2021-11-08 22:55:45 -05:00
Jessica Sachs 0c1831da71 typo causing files not to show up 2021-11-08 16:18:11 -05:00
Tim Griesser e4f9993d29 chore: Rename activeProject -> currentProject (#18709)
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: estrada9166 <estrada9166@hotmail.com>
Co-authored-by: Alejandro Estrada <estrada9166@gmail.com>
2021-11-08 16:00:28 -05:00
Barthélémy Ledoux 071ddb26b8 feat: polish app nav (#18808) 2021-11-08 11:58:28 -05:00
Chris Breiding a9902b2fe6 feat: Support --browser cli option in Launchpad (#18473) 2021-11-08 11:06:23 -05:00
Tim Griesser e018a14c21 feat: Add typings for new devServer config (#18797) 2021-11-08 11:02:01 -05:00
Lachlan Miller c8a7de8bb2 feat(app): wire up cy.screenshot (#18768)
* work on cy.screenshot implementation

* viewport during screenshot

* update style

* add failing spec

* update classes and support viewport: runner feature
2021-11-08 10:36:09 +10:00
Jessica Sachs b457751a9b feat: create specs ui (#18483)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-11-05 13:32:43 -04:00
Shawn Taylor 5f27e782c7 fix(unify): Hide duration from Percy snapshots (#18788)
* hide duration in Percy snapshots

* make it more realistic
2021-11-05 10:04:55 +10:00
Chris Breiding 0422ede8a5 chore: Add e2e tests for global mode (#18719) 2021-11-04 09:31:58 -04:00
Lachlan Miller e2735dee17 chore: add percy to app and launchpad package (#18781)
* try adding percy

* add percy env vars to circle yml

* add percy to launchpad and frontend-shared

* update circle.yml

* import percy cypress

* simplify percy
2021-11-04 23:03:06 +10:00
Lachlan Miller e522ff2a35 Merge branch 'unified-desktop-gui' of https://github.com/cypress-io/cypress into unified-desktop-gui 2021-11-04 13:01:55 +10:00
Lachlan Miller 28a61ef732 chore: update test 2021-11-04 13:01:47 +10:00
Barthélémy Ledoux 5f77c151d1 refactor: move settings in app (#18729)
* refactor: move settings in app

* add needed icons

* icons fixes

* make copy-button opt in in shiki

* almost done with projectId

* Remove settingPage

* make a step forward

* fix: add first record key to runs empty

* fix: remove double header

* fix listHeader again

* remove a change on shiki

* fix a few issues

* fix: typescript should pass

* make better use of SettingsCode

* it is as ready as it will be

* dependencies optims

* finish adding the last parts

* add end to end tests

* avoid using the DOM structure to end 2 end test

* more concise ternary

* two fixes in ListRowHeader.vue

* remove unwanted vite dependencies

* strengthen typings

* remove explicit class prop from RowHeader

* fix some accesibility issues

* restore focused status

* rename runspage to runscontainer

* minor css tweaks

* match some border values to figma

* resolve conflicts

Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-11-04 12:52:55 +10:00
Cesar 1158bcdc6d feat: setup launchpad lifecycle (#18734)
* connect gql to frontend

* launch server side

* add reconfigure button

* complete flow

* fix reconfigure bug

* fix types

* rename launchpad to electron

* remove beforeunload event listener

* use _config

* chore(data-context): inject electron, add test (#18770)

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-11-04 10:14:37 +10:00
Tim Griesser 6a9f5a1a41 Merge branch 'develop' into unified-desktop-gui
* develop: (40 commits)
  fix(driver): Sticky elements within a fixed container will not prevent an element from being scrolled to (#18441)
  chore: make `create` function on server.ts obsolete (#18615)
  docs: Add instructions to squash commits to develop in Contributing (#18728)
  fix(@cypress/react): throw if using Next.js swc-loader without nodeVersion=system (#18686)
  refactor: remove Ramda (#18723)
  chore: Increase paralleled machines for desktop-gui tests (#18725)
  chore: Update Chrome (stable) to 95.0.4638.69 (#18696)
  chore: release @cypress/vue-v3.0.4
  chore: release @cypress/react-v5.10.2
  chore: release @cypress/schematic-v1.5.3
  fix: remove outdated registry link (#18710)
  chore: release @cypress/schematic-v1.5.2
  chore: release create-cypress-tests-v1.1.3
  chore: Update Chrome (beta) to 96.0.4664.27 (#18676)
  chore(tests): Remove flaky assertion that relies on png how compression (#18668)
  fix: make sure to go back to no-specs when delete spec file (#17760)
  fix: Next.JS 12 components testing failing with ` TypeError: Cannot read property 'traceChild' of undefined` (#18648)
  Backport .gitignore from unified-desktop-gui
  chore(docs): add 'Upgrading Electron' instructions (#18594)
  release 8.7.0 [skip ci]
  ...
2021-11-02 21:35:26 -04:00
Lachlan Miller 69d316e428 feat(app): decouple event manager from driver (#18695)
* change event manager to be a class

* update method

* attach event manager to window for cypress-in-cypress

* fix CT tests

* do not use fake event manager anymore

* remove cypress import from event manager

* pass in cypress as arg

* move regenerator runtime

* move async runtime

* include regenerator-runtime in runner unit tests

* fix unit tests

* inject studio

* attach event manager to window for unified app

* move event manager to app

* move event manager entirely to app, delete runner-shared copy

* improve tests

* add missing arg

* types

* remove unused optimization
2021-11-03 11:28:51 +10:00
Tim Griesser e3720df7b5 chore: Force single resolution for core modules, infinite loop guard (#18764) 2021-11-02 19:37:26 -04:00
David Munechika 28ae1c1000 fix(driver): Sticky elements within a fixed container will not prevent an element from being scrolled to (#18441)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-11-02 14:22:28 -04:00
Jessica Sachs 8a813a60b7 chore: cleaning up the runner container pattern (#18741) 2021-11-02 10:28:39 -04:00
Alejandro Estrada 081dd19cc6 feat: Use .config files (#18578)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-11-02 10:24:39 -04:00
Lachlan Miller 469b228cde chore(app): basic style and example to stop scrollIntoView bug (#18736)
* style

* style
2021-11-02 19:04:32 +10:00
Kukhyeon Heo 26e4f92749 chore: make create function on server.ts obsolete (#18615)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2021-11-01 15:48:12 -05:00
Zachary Williams a5a232dd88 feat: add codegen utility (#18708) 2021-11-01 14:42:02 -04:00
Jennifer Shehane 489be7a48f docs: Add instructions to squash commits to develop in Contributing (#18728) 2021-11-01 12:28:37 -06:00