mattermost / mattermost

Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..
https://mattermost.com
Other
30.72k stars 7.38k forks source link

Migrate /enterprise/accessibility e2e tests to TypeScript #21312

Closed mattermod closed 1 month ago

mattermod commented 2 years ago

Converting following spec files under /integration/enterprise/accessibility to Typescript

  1. accessibility_input_fields_spec.js
  2. accessibility_modals_dialogs_1_spec.js
  3. accessibility_modals_dialogs_spec.js

Below is a checklist of items you should be doing to migrate:

  1. Rename the files to their associated TypeScript extensions (ie. js to ts)
  2. 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 )

  1. Fix any errors generated by the TypeScript compiler.

    • Navigate to /e2e/cypress and run npm run check-types to display any errors.
  2. Run

/e2e-run from PR and make sure all migrated and existing tests are passed. Automation results can be seen here Automation Dashboard

Note:

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

adithyaakrishna commented 2 years ago

Can I take this up?

saturninoabril commented 1 month ago

Thanks @hereje!