MM-47291 refactor: migrate collapsed_reply_threads to ts (#27808)

* refactor: migrate collapsed_reply_threads to ts

- migrate collapsed_reply_threads e2e tests to typescript
- update matterpollPlugin plugin constant so that it matches
with apiUploadAndEnablePlugin argument

Fixes: #21296

* refactor: use PostMessageResp on channel_notifications_spec

- use type PostMessageResp
- convert cy.wrap to regular for loop

* refactor: update types on collapsed_reply_threads

- add missing types to variables
- update types on current variables
- remove unnecessary commands on following_spec.ts

* fix: solve issue with non callable function

- move wait call to next line

* refactor: remove functions from global scope

- keep functions as helper functions
- fix lint issue
Этот коммит содержится в:
Angel Mendez
2024-10-08 15:15:43 -06:00
коммит произвёл GitHub
родитель 33af22b2d3
Коммит 3d38d239ff
15 изменённых файлов: 101 добавлений и 60 удалений

Просмотреть файл

@@ -137,7 +137,7 @@ describe('Verify Accessibility Support in Modals & Dialogs', () => {
it('MM-T1468 Accessibility Support in Add people to Channel Dialog screen', () => {
// # Add atleast 5 users
for (let i = 0; i < 5; i++) {
cy.apiCreateUser().then(({user}) => { // eslint-disable-line
cy.apiCreateUser().then(({user}) => { // eslint-disable-line
cy.apiAddUserToTeam(testTeam.id, user.id);
});
}