Этот коммит содержится в:
Saturnino Abril
2023-09-25 22:09:42 +08:00
коммит произвёл GitHub
родитель 6f4382189f
Коммит 1fc6b96c1b
6 изменённых файлов: 19 добавлений и 16 удалений

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

@@ -42,6 +42,7 @@ describe('Messaging', () => {
cy.apiCreateGroupChannel([firstUser.id, secondUser.id, thirdUser.id]).then(({channel}) => {
// # Visit the newly created group message
cy.visit(`/${testTeam.name}/channels/${channel.name}`);
cy.postMessage('hello');
// # Go to off-topic
cy.get('#sidebarItem_off-topic').click();

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

@@ -36,11 +36,11 @@ describe('Show GIF images properly', () => {
cy.url().should('include', offtopiclink);
// # Post tenor GIF
cy.postMessage('https://c.tenor.com/Ztva2YFROSkAAAAi/duck-searching.gif');
cy.postMessage('https://media.tenor.com/yCFHzEvKa9MAAAAi/hello.gif');
cy.getLastPostId().as('postId').then((postId) => {
// * Validate image size
cy.get(`#post_${postId}`).find('.attachment__image').should('have.css', 'width', '137px');
cy.get(`#post_${postId}`).find('.attachment__image').should('have.css', 'width', '189px');
});
// # Post giphy GIF