Skip to content

Commit

Permalink
UITest: try to invoke the Save button
Browse files Browse the repository at this point in the history
  • Loading branch information
jbe2277 committed Apr 23, 2024
1 parent 65cbcdd commit 4df3c28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Samples.UITest/Writer.Test/Tests/WriterTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ public void NewSaveRestartOpenChangeAskToSave()
saveFileDialog.FileNameBox.EditableText = fileName;
Capture.Screen().ToFile(GetScreenshotFile("FullSaveScreen.png"));
saveFileDialog.CaptureToFile(GetScreenshotFile("SaveFileDialog.png"));
saveFileDialog.SaveButton.Click();
saveFileDialog.SaveButton.CaptureToFile("SaveButton.png");
saveFileDialog.SaveButton.Invoke();
Capture.Screen().ToFile(GetScreenshotFile("AfterSaveFile.png"));

fileRibbonMenu.MenuButton.Click();
Expand Down

0 comments on commit 4df3c28

Please sign in to comment.