E2E: QA Fixed the flaky tests related to publishing content with image cropper (#20577)

Added more waits
This commit is contained in:
Nhu Dinh
2025-10-21 13:50:13 +07:00
committed by GitHub
parent d5a2f0572e
commit 7751e40ba8

View File

@@ -60,6 +60,8 @@ test('can publish content with the image cropper data type', {tag: '@smoke'}, as
// Act
await umbracoUi.content.goToContentWithName(contentName);
await umbracoUi.content.uploadFile(imageFilePath);
// Wait for the upload to complete
await umbracoUi.waitForTimeout(1000);
await umbracoUi.content.clickSaveAndPublishButton();
// Assert