mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Update file_preview.js (#35028)
Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
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;
|
||||
}));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user