From 0cb3a406da7a339cc47bb72e32106b24e13c2a9a Mon Sep 17 00:00:00 2001 From: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com> Date: Mon, 22 May 2023 10:50:05 +0530 Subject: [PATCH] Fixed image attachment e2e cypress test (#23445) --- .../integration/channels/messaging/image_attachment_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e-tests/cypress/tests/integration/channels/messaging/image_attachment_spec.js b/e2e-tests/cypress/tests/integration/channels/messaging/image_attachment_spec.js index 4ee9322d7c..3568b31e86 100644 --- a/e2e-tests/cypress/tests/integration/channels/messaging/image_attachment_spec.js +++ b/e2e-tests/cypress/tests/integration/channels/messaging/image_attachment_spec.js @@ -97,7 +97,7 @@ describe('Image attachment', () => { // # File thumbnail should have correct dimensions verifyFileThumbnail({ filename, - actualImage: {height: 151, width: 955}, + actualImage: {height: 144, width: 906}, }); }); @@ -117,7 +117,7 @@ describe('Image attachment', () => { // # File thumbnail should have correct dimensions verifyFileThumbnail({ filename, - actualImage: {height: 151, width: 955}, + actualImage: {height: 144, width: 906}, clickPreview: () => cy.uiGetFileThumbnail(filename).click(), });