Commit Graph

299 Commits

Author SHA1 Message Date
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
GitStart fa2134572d fix: The record key is obstructed in v10 (#24125)
* fix: resolves obstructed record key

* fix: use findByDisplayValue for tests rather than test ID

* fix: update other failing tests

* fix: resolves ui regression

* chore: resolves suggested semantic updates

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: astone123 <adams@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2022-10-14 12:05:36 -04:00
Zach Bloomquist 566a1a208c feat: gate WebKit behind experimentalWebKitSupport in prod (#23711) 2022-09-13 01:56:13 +00:00
amehta265 f07a49b861 chore: updated styling for configuration files (#23781) 2022-09-12 18:04:50 -04:00
amehta265 d2d16265fc chore: Error config files should be collapsed during onboarding (#23756) 2022-09-12 11:26:59 -04:00
Lachlan Miller d8d0ae5787 chore: skip flaky test for now (#23742)
* chore: fixing flake

* comment out flaky test

* revert

* add link to issue [skip ci]
2022-09-12 10:20:48 +10:00
amehta265 1f2b3eb189 chore: valid config files should be collapsed during onboarding (#23659)
* default config files collapsible closed except for warnings

* updated component tests and color accessibility

* addressing PR comments for standardizing tests with .should

* updated tests and made them more robust
2022-09-06 09:11:00 +10:00
Zachary Williams f6eaad40e1 feat: adding svelte component testing support (#23553)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Rocky <25568640+rockindahizzy@users.noreply.github.com>
2022-08-26 12:36:05 -05:00
Rachel ab23d7797b chore: skip or fix flaky tests II (#23386)
* fix leftover percy network-idle-timeout

* Skip another instance of 23153

* fix 23147

* Revert fix 23147

* try percy upgrade again

* Update yarn.lock

* skip 23404

* bring in emilys override version change for percy ui

* skip 23406

* skip 23407

* downgrade percy to 1.2.0

* fix percy diff

* fix percy diff

* update comment

* restore lock file

* Update yarn.lock

* Update yarn.lock

* percy fixes

* possible fix

* fix verison flake??

* Revert "fix percy diff"

This reverts commit e4c4e2e990.

* Revert "Revert "fix percy diff""

This reverts commit 94284e4694.

* Remove version assertion

* Trigger Build

* ignore spec duration in percy snapshots

* use .each to preserve order of execution

* add comment

* fix comment

* try new logic for header wait

* Revert "try new logic for header wait"

This reverts commit bfed31edce.

* add timeout to choose a browser

* Trigger Build

* try without promise.all; revert timeout to choose a browser tests

* ignore spec-duration in percy in runner

* clean up .thens

* clean up diffs

* move around .thens

* wait for tooltip to take snapshot, skip flakers

* try hiding spec duration

* Revert: try hiding spec duration

* Bring back duration mock

* Add another duration mock

* try cy.contains with tooltip, comment out removeGlobalStyles

* skip 23417

* skip choose a browser failures

* skip 23419

* skip 23414

* bring back // removeGlobalStyles()

* skip 23422

* skip 23423

* skip 23424

* set version to empty string to make percy happy

* Remove duration mock

* Do not display top-nav-cypress-version-current-link, skip 23433?

* skip 23434, clean up diffs

* clean up diffs, skip percy flake

* skip 23434

* skip 23437

* fix 23156

* fix 23250 and similar

* fix 23157

* skip more percies

* skip 23443

* skip more tooltip snapshots

* Update net_stubbing.cy.ts

* Update cookies.cy.js

* Update e2e_cookies.cy.js

* add missing github issue

* Update circle.yml

* Skip all of network stubbing

* Skip 23158

* Skip 23448

* remove unnecessary async, add skip for 23444

* more skips for 23444

* skip 23451

* More skips 23436

* More skips 23444

* skip 23455

* more skips 23444

* skip 23457

* more skips 23444

* mroe skip 23455

* Trigger Build

* skip set cookie 23444

* skip 21300

* skip 23417

* Trigger Build

* potential fix for 23308

* skip 23472

* skip snapshot

* skip 23474

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* skip more 23245

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* skip 23480,23481

* skip 23307

* Trigger Build

* addtl skip 23481

* skip 23484

* try cy.origin stability fix on nav commands issue

* Revert: try cy.origin stability fix on nav commands issue

* skip more 23452

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* Trigger Build

* skip 23493

* Trigger Build
2022-08-22 10:50:12 -07:00
Rachel c40a120aa7 chore: skip or fix flaky tests (#23167) 2022-08-15 08:50:34 -07:00
Mark Noonan 3d98f98136 fix: save spec filter term (#22755) 2022-08-09 12:44:35 -04:00
Zachary Williams 94e78eba04 feat: enable Angular CT support (#23089) 2022-08-03 17:21:34 -05:00
Mark Noonan f73810d7da test: make content consistent in component tests that use faker (#23080) 2022-08-03 12:24:54 -04:00
Zachary Williams ecad07e27b chore: remove angular integration (#23004) 2022-07-29 10:01:01 -05:00
Zachary Williams a7b140d438 feat: add angular-ct project setup (#22897) 2022-07-28 11:14:37 -05:00
Lachlan Miller 6adba462ea feat: update to Vite 3 (#22915)
* chore: do not rely on transitive dep. from npm/react

* chore: bump to vite 3.0.2

* revert

* target es6

* remove unused code

* update styles

* remove ts-ignore

* bump to vite 3.0.3
2022-07-28 10:00:31 +10:00
Mark Noonan 5bd848c176 fix: update border color values (#22652) 2022-07-13 16:34:55 -04:00
David Rubin c894206535 fix: Remove punctuation, shorten example comment (#22680)
* fix: remove punctuation, shorten example comment
2022-07-13 09:17:44 -07: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
Mike Plummer 67183f1670 fix: Keep copy button in view, remove button when file already written (#22510) 2022-07-01 17:12:57 -05:00
Adam Stone a80c863685 fix: Correctly catch and clear errors during resetErrorAndLoadConfig mutation (#22514) 2022-07-01 10:14:02 -04:00
Barthélémy Ledoux c67b75020d refactor: make shiki load all its deps upfront (#22114)
* refactor: make shiki load all its deps upfront

* finish some shiki adjustments

* fix type check

* rollback shiki upgrade

* add convert comment and simplify lang variable name

* use a switch statement
2022-06-30 14:13:37 -05:00
Vinicius Pietscher 2b3ab9ac71 fix: add padding to bottom of global mode list (#22112)
* fix: add padding

* fix: add padding (#21724)

* Update packages/launchpad/src/global/GlobalPage.cy.tsx

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

* no longer necessary for this fix

* no longer necessary padding will be added to Main.vue

* add bottom padding

* add percy test

* move percy snapshot out of helper function

Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
2022-06-30 11:58:49 +10:00
Barthélémy Ledoux 6d34fd33ac fix: clean up some unexpected behavior and designs (#21551)
* refactor: try removing the safelist

* fix open browser bugs

* add ts in windi observed files

* resolve typescript issue

* remove markdown code class

* fix automation disconnected button color

* fix disabled card

* fix retry button

* fix config warning test

* fix color of topnav

* fix browser dropdown header text

* remove the removing

* revert unwanted change to card

Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-06-21 10:00:12 -05:00
Kukhyeon Heo 406a19303b fix: Remove period in "learn more." button (#21935)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-08 15:40:58 +00:00
Tim Griesser 566a7b1feb fix: UNIFY-1774 error if component config is not sourced for webpack/vite (#21563)
* fix: UNIFY-1774, throw error if we do not detect a webpackConfig for the user

* remove dead code, rely on auto-sourcing webpack config

* fix error styles, exit the devServer process when config is missing, guard against empty remoteState

* Add missing webpack for todos project

* Update npm/webpack-dev-server/src/makeWebpackConfig.ts

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-05-31 14:34:05 -04:00
Alejandro Estrada f14d663d76 fix: Cypress version loading consistently (#21982)
* fix: Cypress version loading consistently

* Update with feedback
2022-05-31 14:24:25 -04: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
Lachlan Miller cfc59d8afd chore: sort the frameworks select dropdown in a more logical way (#21553) 2022-05-23 11:27:17 -05:00
Zachary Williams 0e32352cbe fix: disable ct testing when run via binary (#21540) 2022-05-20 10:42:02 -05:00
Tim Griesser d335f5cd8a refactor: reduce flake in launchpad tests, return null for videoEmbedHtml if not needed (#21565)
* refactor: reduce flake in migration.cy.ts, return null for videoEmbedHtml if migration is not needed

* Fix UNIFY-1740: guard against double submit of mutation

* don't hit the videoHtmlEmbed link more than once

* move withCtx after scaffold

* Stub the on link response, add test for caching behavior
2022-05-19 17:58:05 -04:00
Tim Griesser d1d337a075 fix: revert "feat: automatically find/merge config for component testing (#21432)" (#21560)
This reverts commit a355ad6159.
2022-05-19 10:50:56 -04:00
Mark Noonan b18f5110f0 feat: migration landing page (#21349) 2022-05-19 08:51:08 -04:00
Blue F fdffc4043b fix: Spec renaming opt out improvements (#21245)
* Don't display spec renaming when user has opted out

* Combine OptOutModal steps

* First round of review feedback

* Fix for migration test

* Review comments

* Fix merge additional errors

* More review feedback

* Try to fix broken unit test

* Fix additional e2e test

* Restore missing unit test files
2022-05-18 08:22:32 -07:00
Lachlan Miller a355ad6159 feat: automatically find/merge config for component testing (#21432)
* wip: add comment regarding webpack config

* wip: various

* wip

* fix tests

* lint

* fix tests

* add tests

* add tests

* fix tests

* update imports

* make test more reliable

* parse correct flag

* minor refactor

* replace fs-extra with fs

Co-authored-by: Zachary Williams <zachjw34@gmail.com>
2022-05-16 15:03:35 +10:00
Ryan Manuel 35ab63307c chore: fix flaky windows tests (#21354) 2022-05-10 10:10:09 -05:00
Alejandro Estrada ba4b4f295a fix: add custom specPattern if user opt out renaming spec ext (#21344)
* fix: add custom specPattern if user opt out renaming spec ext

* Update test, remove comment

* Fix tests

* Update returned config after migrating folder

* Update with feedback
2022-05-09 11:40:46 -05:00
Lachlan Miller e218cd8ed5 fix: better language detection in migration/setup workflow (#21220)
* add function to detect lang

* update test files

* update pkg.json

* remove concept of lang from wizard

* update tests

* fix tests and add debugging

* update test

* fix test

* add ts to ts project deps

* update assertion

* empty commit to trigger CI

* fix ts

* add debug log
2022-05-09 12:56:11 +10:00
Alejandro Estrada 88ef75c39d feat: Update migration for projects with projectId (#21193)
* feat: Update migration for projects with projectId

* Add tests

* Update prettier require, add test for custom specPattern

* Revert prettier changes

* Update test

* Add defaultMigrationTransformOptions

* Update with code review

* Support nested projectId

* Fix test
2022-05-03 17:48:42 -05:00
Mark Noonan 4de6cddebe feat: reflect the GQL baseError state in App, not just launchpad (#21157)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2022-05-03 17:20:41 -04:00
Zach Bloomquist b856a74b43 fix(launchpad): avoid crash when authenticating before selecting project (#21234) 2022-05-03 17:11:40 +00:00
Tyler Biethman f28c859df1 feat: Presenting success banner after dependency installation (#21235)
* Adding banner on dep installation success. Updating copy to match figma.

* Adding component/e2e test coverage

* Flipping polarity on this one

* Update packages/launchpad/cypress/e2e/scaffold-project.cy.ts

Co-authored-by: Rachel <rachel@cypress.io>

* Updates for PR comments

Co-authored-by: Rachel <rachel@cypress.io>
2022-04-28 18:02:38 -05:00
Rachel 8f7a50f4fc feat: UI updates to scaffolded files (#21155) 2022-04-25 08:39:17 -07:00
Lachlan Miller d6924ea428 feat: add alpha/beta labels in launchpad (#21111)
* add alpha label

* add ribbon for beta CT

* fix types

* add supportStatus field and better support for a11y

* fix types

* fix tests
2022-04-20 16:39:05 +10:00
Jess b326693879 chore: cutting over system-tests and Cypress to use the new CT Object API (#21079)
* removing vite-dev-server local dependency from react-vite-ts-configured system test

* moving some CRA examples over to use the object api for setup

* fixing issue where function API was broken by object API for cy config + devservers

* adding deeply nested react import to project-fixtures for cra

* finishes cutting over cypress/react for sys tests

* chore: adding circle for this feature branch

* chore: moving over many vue + vite system tests to use object API instead of function API (#21080)

* doing webpack-dev-server cutovers

* removing more webpack-dev-server refrences

* fixing snapshots

* bumping yarn.lock

* wip

* fix test

* fix assertion

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

* feat: removing all references for "fresh" dev servers (webpack-dev-server-fresh and vite-dev-server-fresh) (#21094)

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

* chore: add dev-servers as deps to server to be included in the binary (#21091)

* fix bad merge

* fix next types and webpack-dev-server- resolve

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-04-20 15:57:19 +10:00
Alejandro Estrada 6242ef0744 fix: do not highlight preExtension if selected option is renameFolder (#21121)
* fix: do not highlight preExtension if selected option is renameFolder

* Fix ts

* Do not change ext
2022-04-19 11:32:55 -05:00
Shawn Taylor 43289e7d1b feat(unify): launchpad header breadcrumbs and reusable tooltip component (#20648)
* display testing type in breadcrumb

* add component tests

* add e2e tests

* improve navigation

* prevent navigation while loading

* Truncate branch

* Create tooltip component

* Animation

* Replace SidebarNavigationRow tooltip

* Delete now-unused SidebarTooltip

* Replace SelectorPlaygroundTooltip

* Replace UnsupportedBrowserTooltip
2022-04-19 11:33:31 -04:00
Lachlan Miller f8621da49d feat(launchpad): update CT setup and config scaffolding (#20893)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2022-04-14 12:34:01 -05:00
Tim Griesser b0c8db3434 fix: Guard against slow requests in GraphQL Resolution (part 2) (#21020)
* add nexusDeferIfNotLoadedPlugin, remove GraphQLDataSource & ssr of graphql data

* add cachedUser for better rendering when cloudViewer is invalidated, fix types, tests

* guard for login to be visible before making next assertion

* revert onCacheUpdate changes

* fix for percy snapshots

* address @flotwig's simpler feedback

* Address types for versionData

* allow for nullish email in UserAvatar

* Ignore remote schema parent type in onCreateFieldResolver
2022-04-14 12:01:29 -04:00
Zach Bloomquist 4fd151014d fix: cache last-used browser by project, name, and channel (#20760)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-04-06 19:55:30 +00:00