Skip to content

Commit

Permalink
Fix stale state during folder creation
Browse files Browse the repository at this point in the history
  • Loading branch information
wAsnk committed Aug 2, 2023
1 parent af65584 commit dc9c680
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,11 @@ await context
context.Get(By.Id("create-folder-name")).SendKeys("Example Folder");
await context.Get(By.Id("modalFooterOk")).ClickReliablyAsync(context);
await context.ClickReliablyOnAsync(By.Id("modalFooterOk"));
// Wait until new folder is created.
context.Exists(
By.XPath("//div[contains(@class, 'alert-info') and contains(.,'This folder is empty')]"));
context.UploadSamplePngByIdOfAnyVisibility("fileupload"); // #spell-check-ignore-line
context.UploadSamplePdfByIdOfAnyVisibility("fileupload"); // #spell-check-ignore-line
Expand Down

0 comments on commit dc9c680

Please sign in to comment.