Browse Source

screengrab try 3

Martin Edlund 5 years ago
parent
commit
7296199724
2 changed files with 3 additions and 1 deletions
  1. 1 1
      .appveyor.yml
  2. 2 0
      SketchAssistant/WhiteTests/UITest.cs

+ 1 - 1
.appveyor.yml

@@ -12,7 +12,7 @@ before_build:
  
 artifacts:
  - path: \SketchAssistant\GeneratedReports\
- - path: \SketchAssistant\
+ - path: \SketchAssistant\screen.jpg
 #  - path: SketchAssistant/WhiteTests/test_input_files/whitelisted/*.svg
 #    name: whitelisted svg files for testing
 #  - path: SketchAssistant/WhiteTests/test_input_files/blacklisted/*.svg

+ 2 - 0
SketchAssistant/WhiteTests/UITest.cs

@@ -122,6 +122,8 @@ namespace WhiteTests
             mainWindow.Get<Menu>(SearchCriteria.ByAutomationId("LoadMenuButton")).Click();
             Thread.Sleep(20);
             mainWindow.Get<Menu>(SearchCriteria.ByAutomationId("SVGMenuButton")).Click();
+            Thread.Sleep(20);
+            printscreen();
             Thread.Sleep(1000);
             printscreen();
             inputSimulator.Keyboard.TextEntry(getSketchAssistantDirectory() + @"whitelisted\" + filename + ".svg");