-
Notifications
You must be signed in to change notification settings - Fork 3.3k
chore: convert cypress.spec.ts
, errors.spec.ts
and logger.spec.ts
to vitest.
#32424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cypress.spec.ts
, errors.spec.ts
and logger.spec.ts
to vitest.
abbd8a5
to
a6e43d8
Compare
e85596d
to
d666571
Compare
a6e43d8
to
44619db
Compare
44619db
to
1c70b7f
Compare
cypress
|
Project |
cypress
|
Branch Review |
chore/misc_tests_cli
|
Run status |
|
Run duration | 43m 50s |
Commit |
|
Committer | Bill Glesias |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
3
|
|
9
|
|
1102
|
|
0
|
|
26518
|
View all changes introduced in this branch ↗︎ |
UI Coverage
43.87%
|
|
---|---|
|
178
|
|
143
|
Accessibility
97.7%
|
|
---|---|
|
4 critical
8 serious
2 moderate
2 minor
|
|
110
|
Tests for review
src/gql-components/modals/SelectCloudProjectModal.cy.tsx • 1 failed test • frontend-shared-ct
Test | Artifacts | |
---|---|---|
An uncaught error was detected outside of a test |
Test Replay
|
cypress/e2e/error-handling.cy.ts • 2 failed tests • launchpad-e2e
Test | Artifacts | |
---|---|---|
... > automatically sources vite.config.js |
Test Replay
Screenshots
|
|
... > automatically sources webpack.config.js |
Test Replay
Screenshots
|
issues/28527.cy.ts • 1 flaky test • 5x-driver-electron
Test | Artifacts | |
---|---|---|
issue 28527 > fails and then retries and verifies about:blank is not displayed |
Test Replay
Screenshots
|
commands/waiting.cy.js • 1 flaky test • 5x-driver-chrome
Test | Artifacts | |
---|---|---|
... > errors > throws when waiting for 2nd response to route |
Test Replay
|
issues/28527.cy.ts • 1 flaky test • 5x-driver-chrome
Test | Artifacts | |
---|---|---|
issue 28527 > fails and then retries and verifies about:blank is not displayed |
Test Replay
Screenshots
|
issues/28527.cy.ts • 1 flaky test • 5x-driver-chrome:beta
Test | Artifacts | |
---|---|---|
issue 28527 > fails and then retries and verifies about:blank is not displayed |
Test Replay
Screenshots
|
commands/net_stubbing.cy.ts • 1 flaky test • 5x-driver-firefox
Test | Artifacts | |
---|---|---|
... > stops waiting when an xhr request is canceled |
The first 5 flaky specs are shown, see all 9 specs in Cypress Cloud. |
gonna move this to draft |
1c70b7f
to
03261a0
Compare
d666571
to
ebe3286
Compare
03261a0
to
c30288b
Compare
c30288b
to
ea18b2d
Compare
import util from './util' | ||
import state from './tasks/state' | ||
|
||
// TODO: this package needs to be replaced as we can't import it in vitest | ||
const is = require('check-more-types') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just remove it :D all of these assertions are simple to just have inline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after the vitest
conversion is done I am planning on doing this. This can be made a lot simpler
94c94f8
to
046588d
Compare
046588d
to
0dd146f
Compare
Additional details
converts the
cypress.spec.ts
,errors.spec.ts
andlogger.spec.ts
to vitest. Also refactors the source code to make it easier to unit testSteps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?