You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Converting following spec files under /integration/enterprise/group_mentions to Typescript
group_mentions_permissions_spec.js
group_mentions_system_messages_spec.js
group_mentions_posts_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)
furqanmlk
changed the title
Migrate /enterprise/group_mentions tests to TypeScript
Migrate /enterprise/group_mentions e2e tests to TypeScript
Oct 11, 2022
Converting following spec files under /integration/enterprise/group_mentions 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 )/e2e/cypress
and runnpm run check-types
to display any errors./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-47304
The text was updated successfully, but these errors were encountered: