mattermost / mattermost

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

Migrate /enterprise/elasticsearch_autocomplete e2e tests to TypeScript #21308

Open mattermod opened 2 years ago

mattermod commented 2 years ago

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

  1. channels_spec.js
  2. renaming_spec.js
  3. users_in_channel_switcher_spec.js
  4. channels_with_special_characters_spec.js
  5. renaming_team_spec.js
  6. users_in_message_input_box_spec.js
  7. system_console_spec.js
  8. users_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-47300

cyberbuff commented 1 year ago

I can take this up.

hereje commented 6 days ago

I would like to work on this issue!