File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed
UITests/UITests.Tests.TAEF Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -231,3 +231,4 @@ msbuild.binlog
231
231
232
232
# TAEF Log output
233
233
WexLogFileOutput
234
+ * .wtl
Original file line number Diff line number Diff line change 39
39
<ItemGroup >
40
40
<PackageReference Include =" MUXTestInfra.TAEF" Version =" 0.0.4" />
41
41
<PackageReference Include =" TAEF.Redist.Wlk" Version =" 10.31.180822002" GeneratePathProperty =" true" />
42
+ <PackageReference Include =" MUXCustomBuildTasks" Version =" 1.0.67" GeneratePathProperty =" true" />
42
43
</ItemGroup >
43
44
44
45
<ItemGroup >
45
46
<None Include =" $(MSBuildThisFileDirectory)\..\UITests.App\AppPackages\*\*.msix" Link =" %(Filename)%(Extension)" CopyToOutputDirectory =" PreserveNewest" />
46
47
<None Include =" $(MSBuildThisFileDirectory)\..\UITests.App\AppPackages\*\Dependencies\$(PlatformTarget)\*.appx" Link =" %(Filename)%(Extension)" CopyToOutputDirectory =" PreserveNewest" />
47
48
<None Include =" $(MSBuildThisFileDirectory)\..\UITests.App\*.pfx" Link =" %(Filename)%(Extension)" CopyToOutputDirectory =" PreserveNewest" />
49
+ <None Include =" $(PkgMUXCustomBuildTasks)\tools\x86\WttLog.dll" CopyToOutputDirectory =" PreserveNewest" />
48
50
</ItemGroup >
49
51
50
52
<ItemGroup >
Original file line number Diff line number Diff line change @@ -59,11 +59,18 @@ jobs:
59
59
displayName : Publish Test Results
60
60
condition : always()
61
61
62
+ - task : PublishPipelineArtifact@1
63
+ displayName : Publish UI Test Results
64
+ inputs :
65
+ targetPath : .\build\UITestResults.wtl
66
+ artifactName : WexLogFileOutput
67
+ condition : always()
68
+
62
69
- task : PublishPipelineArtifact@1
63
70
displayName : Publish Test WexLogFileOutput
64
71
inputs :
65
72
targetPath : .\build\WexLogFileOutput
66
- artifactName : WexLogFileOutput
73
+ artifactName : WexErrorLogFileOutput
67
74
condition : failed()
68
75
69
76
- task : PowerShell@2
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ Task("Test")
309
309
{
310
310
Information ( "\n Running TAEF Interaction Tests" ) ;
311
311
312
- var result = StartProcess ( System . IO . Path . GetDirectoryName ( file . FullPath ) + "/TE.exe" , file . FullPath + " /screenCaptureOnError" ) ;
312
+ var result = StartProcess ( System . IO . Path . GetDirectoryName ( file . FullPath ) + "/TE.exe" , file . FullPath + " /screenCaptureOnError /enableWttLogging /logFile:UITestResults.wtl " ) ;
313
313
if ( result != 0 )
314
314
{
315
315
throw new InvalidOperationException ( "TAEF Tests failed!" ) ;
You can’t perform that action at this time.
0 commit comments