Bläddra i källkod

screengrab try 3

Martin Edlund 5 år sedan
förälder
incheckning
7296199724
2 ändrade filer med 3 tillägg och 1 borttagningar
  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");