Update file_preview.js (#35028)

Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
lindalumitchell
2026-01-27 05:50:08 +00:00
committed by GitHub
co-authored by Mattermost Build
parent 3db7477e45
commit ace5810d65
@@ -11,7 +11,7 @@ Cypress.Commands.add('uiGetFileUploadPreview', () => {
Cypress.Commands.add('uiWaitForFileUploadPreview', () => {
cy.waitUntil(() => cy.uiGetFileUploadPreview().then((el) => {
return el.find('.post-image.normal').length > 0;
return el.find('.post-image__thumbnail').length > 0;
}));
});