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

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

@@ -69,6 +69,12 @@ describe('Incoming webhook', () => {
cy.getLastPost().within(() => {
cy.findByRole('link', {name: 'Testing Integration Attachments', hidden: true});
});
// # Scroll to the bottom of the posts
cy.get('.post-list__dynamic').scrollTo('bottom');
cy.getLastPost().within(() => {
cy.get('.attachment__image').should('be.visible');
cy.get(':nth-child(2) > thead > tr > .attachment-field__caption').should('have.text', 'Area');
cy.get(':nth-child(3) > thead > tr > :nth-child(1)').should('have.text', 'Iteration');