MM-52428: Fix few E2E integration tests (#23311)

* Fixed E2E Integration tests

* Fixed step to close emoji picker
Этот коммит содержится в:
Rohitesh Gupta
2023-05-05 17:15:54 +05:30
коммит произвёл GitHub
родитель d030f681eb
Коммит 4db0512580
3 изменённых файлов: 12 добавлений и 3 удалений

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

@@ -11,6 +11,7 @@
// Group: @channels @bot_accounts
import {createBotPatch} from '../../../support/api/bots';
import * as TIMEOUTS from '../../../fixtures/timeouts';
describe('Bot tags', () => {
let me;
@@ -48,8 +49,8 @@ describe('Bot tags', () => {
await client.pinPost(postId);
cy.visit(`/${team.name}/channels/${channel.name}`);
cy.clickPostDotMenu(postId);
cy.get(`#CENTER_flagIcon_${postId}`).click();
cy.get(`#post_${postId}`).trigger('mouseover', {force: true});
cy.wait(TIMEOUTS.HALF_SEC).get(`#CENTER_flagIcon_${postId}`).click();
});
});
});