Commit Graph

254 Commits

Author SHA1 Message Date
Adam Stone-Lord 4c11731ee1 chore: optimize task execution (#27848)
* Revert "chore: simplify build script (#27547)"

This reverts commit 0a86ec686e.

* Revert "chore: upgrade lerna to 6, cache build step (#26913)"

This reverts commit 9e60aeba8f.

* [run ci]

* chore: upgrade lerna to 6, cache build step (#26913)

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update lerna to 6

* [run ci]

* try caching build step

* we can't clean without building after

* add dependencies on scripts for npm packages

* update commands

* add config for data-context build step

* fix output configurations for npm packages, add gitignores

* revert changes to config and data-context build steps

* fix outputs

* run with cache

* fix outputs for cli

* actually fix outputs

* test with cache

---------

Co-authored-by: astone123 <adams@cypress.io>

* chore: simplify build script (#27547)

* chore: simplify build script

* update CI workflows

* fix workflows

* empty commit because Percy weirdness

* chore: add driver, reporter, config as implicit dependencies for runner package (#27559)

* run all workflows on branch

* chore: parallelize test-binary-against-recipes CI step (#27570)

* chore: fix some easy circular dependencies in dep graph (#27612)

* chore: remove gulp tasks from postinstall (#27616)

* empty commit

* chore: minor improvements to node_modules_install (#27647)

* chore: fix cypress:open and dev scripts

* run with cache [run ci]

* exclude mochaawesome assets from .yarnclean [run ci]

* bump cache again [run ci]

* run cached [run ci]

* chore: do not cache cli build step [run ci]

* update workflow command and docs for build-cli [run ci]

* fix commands that use scope [run ci]

* use different branch for publish repo [run ci]

* percy weirdness? [run ci]

* fix postbuild cli script [run ci]

* try to remove typescript from production binary [run ci]

* fix circular dependency [run ci]

* try removing ts from node_modules [run ci]

* remove typescript resolution [run ci]

* remove redundant target scripts

* update to lerna scoped commands

* remove unneeded yarn in lerna command

* try to fix Electron install in Windows workflow

---------

Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Dave Kasper <dave.m.kasper@gmail.com>
2023-10-04 12:25:00 -05:00
Dave Kasper 0e239bf210 feat(app): Update Runs page visuals to new layout and card design (#27770)
* basic card visuals, working on click

* visual tweaks and i18n

* match other i18n

* redo duration format, should make common too

* basic debug, needs validation of relevant run

* refactor and move files

* working top level state

* working grouping, needs subcomponent

* switch click target

* remove dayjs change

* fix current commit

* revise commit for message

* working view runs button

* fix type check

* fix tests

* fix integration tests

* remove old test

* add layout

* add component test for new layout and cleanup

* add count check

* standardize cy tags

* revise count test

* fix typos

* fix padding

* start wrapping

* happy wrap, next trunc

* responsive if wonky

* clean up and titles

* magic resize, needs tests per breakpoint

* standardize the rollup

* working default rollup

* rollup spacing tweaks

* center elements

* update tests for multiple viewports

* add missing breakpoint tests

* fix debug tests for status and badge

* remove unneeded check

* add functional component

* fix check_ts

* update container test

* add changelog

* add tooltip, needs aria label and external link update

* fix overflow

* fix avatar and add aria label to count summary

* change to external href

* remove popup sizing

* add tests

* add missing data cy

* fix runcard test

* Truncate result count

* make truncate style conditional

* match design truncate position

* adddress PR comments

* chore:updating styles (#27798)

* add tooltip content tests and skeletons

* clean up tooltip validation

* fix runs selector

* Update packages/app/src/runs/RunsSkeletonRow.vue

Co-authored-by: Stokes Player <stokes@cypress.io>

* Update packages/app/src/runs/RunTagCount.vue

Co-authored-by: Stokes Player <stokes@cypress.io>

* Update packages/app/src/runs/RunsSkeleton.vue

Co-authored-by: Stokes Player <stokes@cypress.io>

* Update packages/app/src/runs/RunTagCount.vue

Co-authored-by: Stokes Player <stokes@cypress.io>

* Update packages/app/src/runs/RunsSkeleton.vue

Co-authored-by: Stokes Player <stokes@cypress.io>

* Update packages/app/src/runs/RunsSkeletonRow.vue

Co-authored-by: Stokes Player <stokes@cypress.io>

* Update packages/app/src/runs/RunTagCount.vue

Co-authored-by: Stokes Player <stokes@cypress.io>

* Update packages/app/src/runs/RunTagCount.vue

Co-authored-by: Stokes Player <stokes@cypress.io>

* remove redundant shrink-1s

* more shrinks

---------

Co-authored-by: Stokes Player <stokes@cypress.io>
2023-09-14 16:35:12 -05:00
Ryan Manuel 228a117e82 feat: swap websocket transport with cdp add binding/evaluate (#27592)
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2023-08-25 21:05:33 -05:00
Bill Glesias 150b04cbe5 chore: add v13 welcome page content (#27549)
* feat: add v13 splash page content (wip)

chore: add video link for v13 inside graphql context and root resolver. add migration tests outside of migration manager and update component tests to test aspects

chore: update copy to most recent. Needs onlink deployments

chore: opt for named slot in major version welcome as we still want to show the changes whether or not the video is present

chore: fix video margin by shrinking the margin for a more appealing loadout

chore: update onlinks for what is expected in deploy

chore: adjust margins around video, move video up, and reduce margin on major welcome title

chore: bump release date to 8/29

chore: update stubbed query to reference actual video

* Update packages/launchpad/src/migration/MajorVersionWelcome.vue

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

* Update packages/launchpad/src/migration/MajorVersionWelcome.vue

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

* chore: update code elements to be inlinecodefragments

* chore: update utm links to reflect correct nomenclature

* stub migration src in  network performance launchpad test on video as abortcontroller is difficult to test with current ctx setup

---------

Co-authored-by: Mark Noonan <mark@cypress.io>
2023-08-24 19:36:24 -04:00
Lachlan Miller 0107efbc3e feat: In-App Run Notifications (#27078)
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: astone123 <adams@cypress.io>
2023-06-28 10:23:21 -04:00
Stokes Player 9cb7e1f915 feat: Cypress Cloud data on Specs page and Runs page use local Git data if available (#26991) 2023-06-15 20:02:17 -04:00
Jordan 3fc17c25ac chore(data-context): update runSpec mutation to support absolute spec path (#26973)
* fix(data-context): update runSpec mutation to support absolute spec path

* test(app): add currentProject to failin e2e runSpec test

* chore(data-context): use path.relative

* chore(graphql): update runSpec specPath description
2023-06-13 16:38:41 +10:00
Dave Kasper 9c4d5f7db6 chore: add browser state action for debug (#26884)
* chore: add browser state action for debug (#26763)

* Address PR comments
- remove unneeded async and test context
- genericize openProject function

* Revert route change, update spec description
2023-06-02 14:40:12 -05:00
Adam Stone-Lord b1f699a0a7 chore: add GraphQL mutation for sending system notifications via Electron (#26773) 2023-05-24 12:10:42 -04:00
Mike Plummer 58b9ccc0a8 chore: Implement runSpec mutation (#26782) 2023-05-24 07:32:49 -05:00
Mike Plummer adc4c5e32c feat: Component Testing banner (#26625)
Co-authored-by: elevatebart <bart@cypress.io>
2023-05-05 16:07:41 -05:00
Mark Noonan 826412d408 feat: display framework definition errors (#26183)
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: astone123 <adams@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2023-04-11 06:48:07 -04:00
Mike Plummer fdb5642641 fix: Subscribe to framework detection changes in wizard (#26437) 2023-04-10 17:34:21 -05:00
Mike Plummer 1c385e0d42 fix: Detect CT framework when unconfigured project opened with --component (#26306)
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2023-03-31 16:00:12 -05:00
Lachlan Miller 24194da8e2 feat: Debug run navigation (#26017)
Co-authored-by: Adam Stone-Lord <adams@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
2023-03-27 20:10:17 -04:00
Stokes Player 434e6eec6e feat: show running builds in the Debug page (#25936)
* update format for duration less than 1 sec

* Move DebugNewRelevantRunBar above header

* Adding link to switch runs when running

* Update DebugPendingRunSplash

* New DebugTestingProgress component

* Adding DebugTestingProgress to DebugContainer

* Adding test for showing failed tests for running

* Update mutation for moving relevant runs

* Fix typescript

* Type fix

* Fix for Mac OS

* Watch total tests in relevant run specs data source

* Schema change missed earlier

* Adding transitions to UI

* Caching gql results between changes to remove UI flicker

* Correcting application of attributes

* Modify StatsMetadata to incorporate ResultCounts

* Adding transition to width

* Update mountFragment and test to match

* Adding changelog

* Update changelog

* Make use of useIntervalFn

* Add interval to timing display in header

* Rename variable

* Fixing GQL warnings from test

* Adding entry for Chrome Beta

* Update polling behavior for stopping and fix test for changes in RelevantRunSpecsDataSource

* Poller updates to tracking start/stop

* Add scheduled to complete message to run splash

* Update Sidebar badge to support running builds

* fix tracking of completion date in data source

* Updating isLoading logic

* Add missing field to test data

* Update formatting of time remaining

* Test refactoring

* Fixing types

* Update link to show previous

* Update runs after a status change

* Update method documentation

* Update cli/CHANGELOG.md

Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>

* Remove console.log

* Better checks for numbers

* Rename moveToNext to moveToRun

* Simplify check

Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>

* Simplify check

* Fixing document name

* Update logic for when to move runs

---------

Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
2023-03-07 09:56:55 +10:00
Zachary Williams c5072668b2 feat: debug page tutorial slideshow (#25886)
* feat: debug page tutorial slideshow

* fix tests, add changelog entry

* address feedback

* update changelog
2023-02-22 14:59:21 +10:00
Lachlan Miller 1d3aab9d70 feat: Public API for CT Framework Definitions (#25780)
* chore: rework component onboarding in launchpad (#25713)

* chore: refactoring and types

* rework source of frameworks

* revert rename

* fix tests

* fix more tests

* types

* update code

* use same public API internally

* rename interfaces

* rename

* work on dev server api

* fix types

* fix test

* attempt to support getDevServerConfig

* tests

* add function to define framework [skip ci]

* rework a lot of types

* fix test

* update tests and types

* refactor

* revert changes

* lint

* fix test

* revert

* remove

* add "community" label [skip ci]

* refactor

* types

* lint

* fix bug

* update function name

* address feedback

* improve types with Pick

* refactor using type guard

* correct label

---------

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

* chore: typing error

* feat: scan for 3rd party ct plugins (#25749)

* chore: refactoring and types

* rework source of frameworks

* revert rename

* fix tests

* fix more tests

* types

* update code

* use same public API internally

* rename interfaces

* rename

* work on dev server api

* fix types

* fix test

* attempt to support getDevServerConfig

* tests

* add function to define framework [skip ci]

* rework a lot of types

* fix test

* update tests and types

* refactor

* revert changes

* lint

* fix test

* revert

* remove

* add "community" label [skip ci]

* refactor

* types

* lint

* fix bug

* update function name

* address feedback

* feat: scan for 3rd party ct plugins

* add e2e test

* unit tests [run ci]

* tweak resolution

* rebase, address comments

* fix windows paths

* remove .gitignore

* fix test

---------

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

* lint config

* spacing

* try fix race cond

* fix import error

* build binary

* try update snapshot

* try using require

* support namespaced definitions (#25804)

* remove category

* add icon prop

* support esm -> cjs compiled typescript

* fix test

* misc: add CTA footer to launchpad framework dropdown (#25831)

* remove test project dependencies

* rebase

* windows

* windows again

* add changelog entry

* changelog

* revert workflow

* remove worklfow

---------

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Adam Stone-Lord <adams@cypress.io>
2023-02-21 17:43:20 +10:00
Zachary Williams 3040304407 test: fix flaky migration test (#25672)
Co-authored-by: Mark Noonan <mark@cypress.io>
2023-02-05 17:57:35 -05:00
Stokes Player 660ff67578 feat: Debug page [IATR] (#25488)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Ankit <ankit@cypress.io>
Co-authored-by: Stokes Player <stokes.player@gmail.com>
Co-authored-by: elevatebart <bart@cypress.io>
Co-authored-by: Rocky <25568640+rockindahizzy@users.noreply.github.com>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Mike Plummer <mikep@cypress.io>
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
Co-authored-by: Adam Stone-Lord <adams@cypress.io>
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2023-01-31 10:00:03 -05:00
Emily Rohrbough b50714108d chore: update packages/example deployment script and cleanup package/example (#25091)
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2023-01-27 11:59:55 -06:00
Zach Bloomquist 1b1ed9cd49 chore: improve linting (#25235) 2022-12-29 17:26:13 +00:00
Adam Stone-Lord 166b69414c feat: create from React component (#25168)
* feat: server logic for create from React component (#24881)

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

* fix: add default export detection (#24954)

Co-authored-by: astone123 <adams@cypress.io>

* update cache

* update yarn.lock to fix builds

* fix: compilation with webpack preprocessor

* feat: create from React component UI (#24982)

* feat: WIP server logic for create from React component

* feat: add more tests; error handling

* feat: WIP create from React UI

* feat: PR feedback [run CI]

* feat: try committing snapshot cache changes [run ci]

* feat: try re-generating snapshot [run ci]

* fix build

* regenerate cache on darwin

* update caches

* Revert "feat: try re-generating snapshot [run ci]"

This reverts commit d763e1f7a4.

* fix typing error

* types

* fix test

* chore: try using react-docgen@6.0.0-alpha.3

* update test

* regen linux snapshot

* update snapshots for darwin

* re-gen linux snapshot

* yarn install

* update snapshots

* update snapshot metadata

* update snapshots due to babel deps changing slightly

* make react docgen a dep

* update tests

* revert

* snapshots again??

* revert

* update

* update

* try change snapshot

* change snap

* update snap

* feat: remove unnecessary ts-ignore

* feat: add more test cases

* feat: create CodegenActions; other minor refactors

* feat: continue UI work

* feat: ignore config and Cypress-related files

* feat: PR feedback

* update Vue component link

* merge in default export work

* consolidate graphql queries

* other misc feedback

* use network-only policy to fetch files; include cypress/ dir for code gen candidates; fix type error

* add basic e2e test

* fix app integration tests

* refactor and fix app component and webpack dev server tests

* add error state; fix unit tests [skip ci]

* simplify generator show logic [skip ci]

* more testing

* fix types

* style updates [skip ci]

* fix error state [skip ci]

* fix list padding [skip ci]

* use slots (#25079)

* add more tests; fix unit tests

* fix types

* fix test describe

* add percy snapshots for new list

* update trouble rendering banner link [skip ci]

* use collapsible component

* use button for component list items

* fix tests

* build binaries

* revert changes to circle config

* remove eslintignore and extra loading div [skip ci] because we know it will fail

* revert changes to framework glob patterns [skip ci]

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

* feat: pass parser options to allow parsing of tsx files (#25145)

* fix create from component e2e test

* build binaries [run ci]

* fix component tests [run ci]

* regen windows snapshot

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-12-19 12:42:14 +10:00
Zachary Williams 6c374031d7 fix: run-all-specs opens in new tab rather than new browser (#25074) 2022-12-12 09:07:59 -06:00
Lachlan Miller 4bbd78e22e feat: Re-introduce Run All specs for End to End under experimentalRunAllSpecs flag (#24745)
* feat: re-enable Run All Specs (#24683)

* fix: disable query in run-mode

* feat: Run-all-specs-ui (#24738)

* wip run-all-specs-ui

* added component tests for specs-list, inline-specs-list, and run-all-specs

* updated tests for specslist, inlinespeclist, and runAllSpecs

* simplify test

* make prop with default value optional

* enable run all specs

* use named slot for clarify

* use Record type

* remove un-necessary dynamic component

* use group and hover to inline css

* fix tests

* fix tests and use snapshot for style testing

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

* fix typescript

* fix test

* build binary for run all specs

* fix: tweaks for Run All Specs (#24746)

* update ui [skip ci]

* change types to reflect run all specs is e2e only

* chore: separate run all specs components

* fix typescript error

* fix: run-all UI tweaks and keyboard nav (#24757)

Closes undefined

* fix UI test

* move listener and use i18n [skip ci] (#24761)

* fix: run-all-specs duplicate file-matching (#24763)

* chore: limit linting [skip ci]

* do not get separator until app is loaded

* fix test

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
2022-11-22 17:28:48 +10:00
Adam Stone e3435b6fba chore: re-name dashboard references to Cypress Cloud (#24699)
Co-authored-by: mattvCypress <mattv@cypress.io>
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
2022-11-17 09:10:50 -05:00
Mark Noonan 191552322c feat: in-app information about new major versions (#24541) 2022-11-04 16:25:38 -04:00
Ryan Manuel b0c0eaa508 feat: introduce v8 snapshots to improve startup performance (#24295)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Ben M <benm@cypress.io>
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
Co-authored-by: astone123 <adams@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Adam Stone <adams@cypress.io>
Co-authored-by: Blue F <blue@cypress.io>
Co-authored-by: GitStart <1501599+gitstart@users.noreply.github.com>
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Sam Goodger <turbo@tailz.dev>
Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Vilhelm Melkstam <vilhelm.melkstam@gmail.com>
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
2022-10-31 20:20:27 -05:00
Mark Noonan 8ab3ea8f98 feat: implement new login and "connect project" logic (#23762)
Co-authored-by: Stokes Player <stokes.player@gmail.com>
2022-10-24 15:37:36 -04:00
GitStart f73aef54b0 fix: clean up inconsistencies in UI between sentence case and title case (#23681)
Co-authored-by: Rachel <Raquel.rudermano@gmail.com>
Co-authored-by: Rachel <rachel@cypress.io>
2022-10-14 12:54:59 -07:00
Stokes Player 314a0b2e0d feat: add cohorts for A/B testing in Specs List Banners (#23735) 2022-09-15 22:20:30 -04:00
Zach Bloomquist 566a1a208c feat: gate WebKit behind experimentalWebKitSupport in prod (#23711) 2022-09-13 01:56:13 +00:00
Mike Plummer 9abbbe61af feat: Banner Analytics (#23691)
Co-authored-by: astone123 <adams@cypress.io>
2022-09-08 16:37:09 -05:00
Mike Plummer a51e340577 fix: Refetch latest cloud data when opening cloud connect modals (#23650) 2022-09-06 09:57:00 -05:00
Zach Bloomquist 3c2fea216b chore(server): convert remaining browsers code to typescript (#23556) 2022-08-29 19:47:05 +00:00
Adam Stone 03182625cf feat: Enable create from Vue component for projects with custom spec patterns (#23298) 2022-08-18 11:00:29 -04:00
Mike Plummer b91e4e3c2d feat: Flake Indicator ACI (#23049) 2022-08-15 11:12:09 -05:00
Mark Noonan 3d98f98136 fix: save spec filter term (#22755) 2022-08-09 12:44:35 -04:00
Adam Stone 7ef6f972aa feat: Create spec from Vue component (#22898)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-08-09 11:50:27 -04:00
Lachlan Miller ef9df8d8bf chore: simplify error/warning management in data context (#23034)
* chore: remove unused prop

* remove duplicate error and warning abstraction

* remove incorrect warning clobber

* do not clear warning on set project

* remove concept of currentProjectData

* collapse errors and warnings into diagnostics key

* remove TODO [ci skip]

* simplify code

* remove unused code
2022-08-08 10:16:49 +10:00
Lachlan Miller ee177195eb fix: windows CI with Vite 3 (#23052)
* chore: patch vite

* remove readJsonSync methods

* rename patch

* fix tests

* reduce flake by using a timeout

* update test

* do not build mac and linux binaries
2022-08-02 10:18:13 -05:00
Chris Breiding 1da95a7db1 fix: Determine global mode based on whether there is a current project (#22838)
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-07-19 10:28:46 -04:00
Adam Stone 1b688694fe fix: Ensure that file watchers are closed before Electron exits (#22606)
* Adding prototype before-quit handler to handle async teardown.

* Getting binary builds

* Let's try this then

* Working the async changes backwards, hope I got them all. Unit tests will be a disaster currently.

* Actually getting build artifacts for testing

* Moving logic to server interactive/run

* fix: Fix some tests

* fix: Revert changes to circle config

* fix: Fix some tests

* fix: Fix more tests

* fix: Remove dead code comment

* fix: Fix ProjectDataSource tests

* fix: Add comment prefix

* fix: Remove comment and unnecessary async

* fix: Build Mac binary

* Reverting run changes

* Addressing PR comments. Cleaning up a few naming quibbles I had.

* Addressing TODO regarding onLoadError watcher cleanup.

* Correcting catch

* Fighting some unref errors on these catches

* Reverting making this private en lieu of binding

* Should have left these as instances, whoops

* Removing unnecessary test that was previously skipped

* Adding a couple cheap unit tests for the new interactive mode behavior

Co-authored-by: Tyler Biethman <tbiethman@gmail.com>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
2022-07-17 15:57:10 -05: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
Adam Stone a80c863685 fix: Correctly catch and clear errors during resetErrorAndLoadConfig mutation (#22514) 2022-07-01 10:14:02 -04: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
Zach Bloomquist d01932bf75 fix: retry on EMFILE always, lint sync FS calls (#22175)
* fix: use graceful-fs always, warn in development on sync calls

* skip prop linting in some dirs

* eslint rules

* use AST-based lint rule instead

* comment

* ignore existsSync

* run without nextTick

* remove dev warning code

* fix order

* register TS first

* fix tests

* fix test

* cover new call site

* fix new test
2022-06-16 14:35:31 +10:00
Tim Griesser b0e32f8f8e fix: UNIFY-1408, warnings should be nested appropriately & clearable (#21630)
* fix: UNIFY-1408, warnings should be nested appropriately & clearable

* Add fix / test for UNIFY-1604, UNIFY-1732

* better tests around baseUrl handling, remove unneeded logic

* Fix stub usage, test failure, pingBaseUrl behavior

* fix duplicate test title
2022-05-27 11:31:07 -04:00
Zachary Williams 08b72dc383 fix: switching from ct to e2e (non-configured) does not go through setup (#21607) 2022-05-25 18:45:45 -05:00
Alejandro Estrada 853b98b9d8 fix: prevent crash on runs visit when offline (#21618) 2022-05-25 14:59:01 -04:00