fix: fail build on wasm test failures
This commit is contained in:
Родитель
255e966f66
Коммит
1327e36e6e
|
@ -138,6 +138,7 @@ jobs:
|
|||
testRunTitle: 'WebAssembly Test Run'
|
||||
testResultsFormat: 'NUnit'
|
||||
testResultsFiles: '$(build.sourcesdirectory)/build/TestResult.xml'
|
||||
failTaskOnFailedTests: true
|
||||
searchFolder: '$(System.DefaultWorkingDirectory)' # https://github.com/microsoft/azure-pipelines-tasks/issues/10072
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
|
|
|
@ -15,6 +15,11 @@ namespace Sample.UITests
|
|||
{
|
||||
TestBase.InitializeTestEnvrionment();
|
||||
|
||||
if(AppInitializer.GetLocalPlatform() == Platform.Browser)
|
||||
{
|
||||
Assert.Ignore("Not supported in browser");
|
||||
}
|
||||
|
||||
var app = OpenSample(AppDataMode.Clear);
|
||||
Assert.AreEqual("<INITIAL_VALUE>", app.Marked("LocalSettingValueTextBlock").GetDependencyPropertyValue<string>("Text"));
|
||||
app.Marked("SetLocalSettingButton").Tap();
|
||||
|
|
Загрузка…
Ссылка в новой задаче