Skip to content

Commit

Permalink
Add delay after waiting for thumbnails in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed Mar 25, 2020
1 parent 8ca8303 commit 09aeb74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/acceptance/pageObjects/FilesPageElement/filesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ module.exports = {
*/
waitForAllThumbnailsLoaded: function () {
return this.waitForElementNotPresent('@allFilePreviewsLoading')
// leave some time for file locks to release themselves...
.pause(1000)
},
waitForThumbnailLoaded: async function (resourceName, elementType) {
if (elementType !== 'file') {
Expand Down

0 comments on commit 09aeb74

Please sign in to comment.