Converting following spec files under /integration/enterprise/accessibility to Typescript
accessibility_input_fields_spec.js
accessibility_modals_dialogs_1_spec.js
accessibility_modals_dialogs_spec.js
Below is a checklist of items you should be doing to migrate:
Rename the files to their associated TypeScript extensions (ie. js to ts)
Move over all the types from the declaration (d.ts) files into the matching typescript file, and delete the declaration file (see Support Migration PR link below for reference )
Fix any errors generated by the TypeScript compiler.
Navigate to /e2e/cypress and run npm run check-types to display any errors.
Run
/e2e-run from PR and make sure all migrated and existing tests are passed. Automation results can be seen here Automation Dashboard
Note:
Please update types in the declaration files (d.ts) if they are out of date or mismatch with actual usage.
Please migrate support files to typescript if the new typescript files depend on them (you will see compilation errors if this is the case)
Converting following spec files under /integration/enterprise/accessibility to Typescript
Below is a checklist of items you should be doing to migrate:
js
tots
)d.ts
) files into the matching typescript file, and delete the declaration file (see Support Migration PR link below for reference )Fix any errors generated by the TypeScript compiler.
/e2e/cypress
and runnpm run check-types
to display any errors.Run
/e2e-run
from PR and make sure all migrated and existing tests are passed. Automation results can be seen here Automation DashboardNote:
types
in the declaration files (d.ts
) if they are out of date or mismatch with actual usage.support
files to typescript if the new typescript files depend on them (you will see compilation errors if this is the case)References
π Suport Files Migration Reference
Support Migration PR
π Spec File Migration Reference
account_settings/profile tests migration PR
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-47296