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 удалений

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

@@ -13,7 +13,7 @@ import {ChainableT} from '../types';
* @param {Object} channelId - where a post will be posted
*/
interface PostMessageResp {
export interface PostMessageResp {
id: string;
status: number;
data: any;