Skip to content

Commit 7751e40

Browse files
authored
E2E: QA Fixed the flaky tests related to publishing content with image cropper (#20577)
Added more waits
1 parent d5a2f05 commit 7751e40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/ContentWithImageCropper.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ test('can publish content with the image cropper data type', {tag: '@smoke'}, as
6060
// Act
6161
await umbracoUi.content.goToContentWithName(contentName);
6262
await umbracoUi.content.uploadFile(imageFilePath);
63+
// Wait for the upload to complete
64+
await umbracoUi.waitForTimeout(1000);
6365
await umbracoUi.content.clickSaveAndPublishButton();
6466

6567
// Assert

0 commit comments

Comments
 (0)