-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
misc: convert server/lib/modes files to ts + add more cli options to Cloud terminal error outputs #31211
Conversation
@@ -68,7 +68,7 @@ const toUploadReportPayload = (acc: { | |||
type UploadArtifactOptions = { | |||
protocolManager?: ProtocolManager | |||
videoUploadUrl?: string | |||
video?: string // filepath to the video artifact | |||
video?: string | null // filepath to the video artifact |
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.
I saw where we set this null in another file, so this is possible
const warning = (code, args) => { | ||
const debug = Debug('cypress:server:cypress') | ||
|
||
type Mode = 'exit' | 'info' | 'interactive' | 'pkg' | 'record' | 'results' | 'run' | 'smokeTest' | 'version' | 'returnPkg' | 'exitWithCode' |
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.
This type may be more than is actually supported. It was hard to tell the definitive list by how this is called.
parallel: `${parallel}`, | ||
autoCancelAfterFailures: `${autoCancelAfterFailures}`, |
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.
These error messages only accept strings
cypress
|
Project |
cypress
|
Branch Review |
js-to-ts-server-2
|
Run status |
|
Run duration | 18m 29s |
Commit |
|
Committer | Jennifer Shehane |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
7
|
|
1232
|
|
0
|
|
32101
|
View all changes introduced in this branch ↗︎ |
UI Coverage
46.44%
|
|
---|---|
|
183
|
|
163
|
Accessibility
92.55%
|
|
---|---|
|
3 critical
8 serious
2 moderate
2 minor
|
|
877
|
@@ -1397,7 +1398,6 @@ export const AllCypressErrors = { | |||
https://on.cypress.io/test-retries | |||
` | |||
}, | |||
// TODO: test this |
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.
there is a test for this!
Additional details
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?