Commit Graph

528 Commits

Author SHA1 Message Date
Mike Plummer 211aa3535c feat: Add icons to headers that have tooltips (#22815) 2022-07-19 16:18:25 -05:00
rockindahizzy 2aa7b93ea1 fix: Correct pluralization in Spec Pattern (#22773)
* fix: Correct pluralization in Spec Pattern

* update failing e2e tests

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-07-19 10:34:15 +10:00
Kukhyeon Heo 1643161559 fix: show info message correctly on "record your first run ui" (#22413)
Co-authored-by: Rachel <rachel@cypress.io>
2022-07-18 15:42:00 +00:00
Muaz Othman 3d07d53e98 feat: auto-collapse sidebar for window width < lg (#22393)
Co-authored-by: Mike Plummer <mikep@cypress.io>
2022-07-15 19:53:46 -05:00
Mike Plummer 7e4d82bfaf fix: Cleanup RunStatusDots component (#22735)
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-07-15 18:02:38 -05:00
Kukhyeon Heo 71afe7789a fix: Remove dynamic fixtures in tests. (#22244)
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
2022-07-15 18:46:34 -04:00
Mark Noonan 9a1e73f127 fix: respect CYPRESS_NO_COMMAND_LOG in env (#22641)
* avoid throwing error if reporter is not found

* make it safe to call `empty` when no element is found

* don't set up reporter without reporter root el

* expose "no command log" in window config object

* set up noCommandLog in runner ui store

* handle noCommandLog in open mode

* handle noCommandLog in Run Mode

* handle noCommandLog in runner styles

* don't clean up reporter if there's no reporter

* remove left 1px border in run mode always, not just for screenshots

* fix missing export

* add run mode test

* add open mode tests

* tweak comment

* minor test updates

* change variable name

* don't render reporter-related elements if hidden

* allow runner to still be cleaned up

* fix resizable panel assertion

* swith back to v-show for panels

* update tests
2022-07-15 17:46:52 -04:00
Mike Plummer cb81596d13 fix: Styling of specs list at small breakpoints (#22635)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-07-14 19:37:55 -05:00
Zachary Williams 1c44eae5d4 chore: add optimized deps to reduce CI flake for CT tests (#22564) 2022-07-14 13:39:43 +10:00
Mike Plummer c9e2c0a63c fix: Tooltip issues with ACI (#22650) 2022-07-13 20:08:16 -05:00
Mike Plummer 029f3c596b fix: UTM parameters for Latest Runs column (#22624)
* fix: UTM parameters for Latest Runs column

* Add UTM parameters to dashboard URL for Latest Runs content
* Update util function to work with URLs that have existing params

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-07-13 17:01:24 -05:00
Mark Noonan 5bd848c176 fix: update border color values (#22652) 2022-07-13 16:34:55 -04:00
Mark Noonan 70b9bc6793 fix: restore truncating behavior in Last Updated column (#22588) 2022-07-13 16:33:30 -04:00
Mark Noonan 1ccc90573f fix: avoid overflow issue in Firefox (#22620)
* fix: update positioning of runner

* remove isFirefox check

* Update packages/app/src/runner/useRunnerStyle.ts

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

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-07-12 14:00:49 +10: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
Stepan Kartashev 2880092c60 fix: change "resizable panels handlers" width to make it more convenient to use (#22473)
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-07-11 15:22:50 +10: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
Vinicius Pietscher f4cab0a2ba fix: Remove autocomplete from inputs in Cypress UI #22102 (#22456) 2022-06-30 16:40:47 -04:00
Kukhyeon Heo 9101a9066c fix: distribute files to machines for external contributors. (#22326)
* fix: distribute files to machines for external contributors.

* fix path

* fix

* fix glob

* fix

* fix glob pattern spec->cy.

* fix

* echo things.

* test

* use cd.

* fix component tests.

* test

* test

* fix

* refactor

* test distribut-step

fix error
fix
fix
test
TEST

* Revert "test distribut-step"

This reverts commit 15c36065ca.

* Revert "refactor"

This reverts commit 21a8ad9211.

* reduce flake by increasing viewport height

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-06-28 09:22:43 +10: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
Chris Breiding a21c942ee4 fix: Improve cross-origin cookie handling (#22320) 2022-06-23 11:00:52 -04:00
Mike Plummer b678b14877 feat: Add button to clear value from search fields (#22202)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-06-22 18:42:46 -05:00
Adam Stone 0dc1f268c1 chore: Add test to verify settings panels are collapsed by default (#22382) 2022-06-22 17:11:06 -04:00
Barthélémy Ledoux a8f5e59b7d refactor: use design system windicss config (#21503)
* chore: use design system windi config

* fix: windi config should have colors in the right place

* fix: remove direct dependencies to old windi

* upgrade css plugin for types

* update windi plugin

* refactor: update without the safelist

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-06-22 10:35:55 -05: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
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
Adam Stone 32ad438346 feat: Auto-focus and select file name for create new spec modal (#22284)
* feat: Auto-focus and select file name for create new spec modal

* feat: Add comment for regex

* feat: Remove comma; add new line

* feat: Remove unnecessary function

* feat: Remove unnecessary logic

* feat: Reference prop value rather than input ref value

* feat: Add component test for unhappy path

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-06-16 10:59:19 +10:00
Adam Stone 9a5a4b2a4c fix: Truncate spec directories and file names instead of wrapping (#22226) 2022-06-15 14:09:08 -04:00
Alejandro Estrada 2a276978de fix: handle cloud error/no internet error (#21526)
* feat: handle cloud error/no internet error

* Update error handling

* Add tests

* Fix TS

* Revert change

* fix: update gql error handler (#21542)

* fix: update gql error handler

* Add failing test

* Fix test

* Update with code review

* Update with code review

* Update packages/data-context/src/sources/CloudDataSource.ts

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>

* Add tests

* Prevent showing toaster

* Upodate with feedback

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-06-14 13:28:57 -05:00
Bill Glesias a481dbb682 chore: document internal vite options (#21667)
* chore: document internal vite options

* try to make pertinant internal dev options more discoverable

* move vite internal references to contributing guide and rebuild references

* fix typo

* Update npm/vite-dev-server/README.md

* add enabling flag for cypress internal vite inspect

* update contributing guide to follow similar wording for internal vite envs
2022-06-13 16:07:18 -04:00
Ryan Manuel 1e6192364f fix: restart Cypress server and browser on baseUrl change (#22154)
* fix: restart server on baseUrl change

* Rework how baseUrl works

* Refactor how we determine if we should ping the base url

* Fix test

* Update packages/launchpad/cypress/e2e/choose-a-browser.cy.ts

* Update packages/launchpad/cypress/e2e/choose-a-browser.cy.ts

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-10 10:11:15 -05:00
Ryan Manuel 600daef5cd fix: windows (#22234) 2022-06-10 09:04:43 -05:00
Adam Stone 85f002fa39 fix: AUT URL in runner header links to application URL (#22171)
* Add failing test

* Update AUT URL display to link

* fix: Fix header AUT URL truncation

* fix: Adjust line height so that lower-hanging characters don't get cut off
2022-06-10 16:31:07 +10:00
Mike Plummer 0298b97477 fix: Make spec row clickable across entire width (#22105)
* fix: Make spec row clickable across entire width

* Move click-sensitive row action wrapper to surround entire row
* Add styles to highlight spec icon on hocus to match Figma
* Small text highlight style change to match Figma

* Add missing data-cy selector

* Add tests for row expansion behaviors

* Fix directory row styling issues
2022-06-08 15:35:37 +10:00
Lachlan Miller a264373df7 chore: do not ship source for app and launchpad in binary (#22033) 2022-06-07 10:47:19 +10:00
Zachary Williams e58ec7a688 fix: selector playground copy full command (#22097) 2022-06-06 17:37:59 -05:00
Rachel 64ea96b1e0 fix: For E2E scaffolded blank specs, scaffold a spec that passes instead of fails (#22070) 2022-06-06 12:16:47 -04:00
Zachary Williams a8ed29ecbb fix: top nav browsers list scroll (#22094) 2022-06-03 16:51:23 -05:00
Rachel 81f1b421ef fix: only show active router link styles on parent page (#22069) 2022-06-03 14:45:04 -04:00
Mike Plummer ce647c29df fix: Increase contrast on spec header items (#22045)
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-06-03 10:26:21 -05:00
Mark Noonan d875564cb5 fix: prevent RunCard styles from leaking (#22014)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-01 17:23:56 -05:00
Mark Noonan 4108ca0157 fix: scroll of inline specs list (#21994)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-01 13:53:18 -04: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
Mark Noonan c301f8e737 Merge branch 'develop' into marktnoonan/script-error-height 2022-05-31 10:15:47 -04:00
Muaz Othman 0a6391f7f4 fix: Spec List: Added tooltips to git icons created/modified (#21536) 2022-05-27 11:15:17 -05:00
Bill Glesias 5866f45a57 fix: clean up the primaryOriginCommunicator when the iframe is torndown to… (#21634)
* clean up the primaryOriginCommunicator when the iframe is torndown to prevent dangling memory leaks

* fix: clean up the primaryOriginCommunicator when the iframe is torndown to prevent dangling memory leaks

* attempt to clean up onMessage handlers when event manager is setup/torn down. NEEDS cy-in-cy TEST

* move session tests into session directory and rename file to prep for origin tests being added

* add cy.origin regression tests

* fix cy origin event bindings in the event manager"
2022-05-27 12:06:27 -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
Mark Noonan 809f5742be Merge branch 'develop' into marktnoonan/script-error-height 2022-05-27 09:28:32 -04:00
Mark Noonan 1901539c5c simplify test setup be writing bad file from test 2022-05-27 09:25:37 -04:00