-
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
docs: typescript migration guide #31243
Conversation
cypress
|
Project |
cypress
|
Branch Review |
docs/ts-upgrade-guide
|
Run status |
|
Run duration | 18m 06s |
Commit |
|
Committer | Cacie Prins |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
15
|
|
7
|
|
1208
|
|
0
|
|
31274
|
View all changes introduced in this branch ↗︎ |
Warning
Partial Report: The results for the Application Quality reports may be incomplete.
UI Coverage
45.87%
|
|
---|---|
|
185
|
|
161
|
Accessibility
92.63%
|
|
---|---|
|
3 critical
8 serious
2 moderate
2 minor
|
|
875
|
Tests for review
The first 5 failed specs are shown, see all 238 specs in Cypress Cloud.
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/net_stubbing.cy.ts • 1 flaky test • 5x-driver-firefox
Test | Artifacts | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
... > stops waiting when an xhr request is canceled |
|
Test | Artifacts | |
---|---|---|
issue 28527 > fails and then retries and verifies about:blank is not displayed |
Screenshots
|
e2e/origin/cookie_login.cy.ts • 1 flaky test • 5x-driver-chrome:beta
Test | Artifacts | |
---|---|---|
cy.origin - cookie login > Max-Age > past max-age -> not logged in |
Test Replay
|
commands/waiting.cy.js • 1 flaky test • 5x-driver-chrome:beta
Test | Artifacts | |
---|---|---|
... > errors > does not throw again when 2nd alias doesn't reference a route |
Test Replay
|
The first 5 flaky specs are shown, see all 7 specs in Cypress Cloud.
guides/typescript.md
Outdated
|
||
- No unnecessary `.js` in the repository | ||
- The repository passes linting based on the `@typescript-eslint/recommended-type-checked` rule set | ||
- The repository uses `@eslint/stylistic` to format |
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.
@eslint/stylistic
isn't an npm module
There is a website https://eslint.style/ which refers to plugins @stylistic/eslint-plugin
A link either to the website or to an existing npm module would be clearer here
Co-authored-by: Mike McCready <[email protected]>
Co-authored-by: Mike McCready <[email protected]>
Additional details
Adds a guide for writing TypeScript and migrating JS to TS
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?