diff --git a/.azure/pipelines/components-e2e-tests.yml b/.azure/pipelines/components-e2e-tests.yml index a419cf5085a..373e9115113 100644 --- a/.azure/pipelines/components-e2e-tests.yml +++ b/.azure/pipelines/components-e2e-tests.yml @@ -44,8 +44,11 @@ jobs: displayName: NPM install - script: .dotnet/dotnet build ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-restore displayName: Build - - script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --logger trx + - script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter QuarantinedTest\!~github --logger trx displayName: Run E2E tests + - script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter QuarantinedTest~github -p:RunQuarantinedTests=true --logger trx + displayName: Run Quarantined E2E tests + continueOnError: true - task: PublishTestResults@2 displayName: Publish E2E Test Results inputs: @@ -54,6 +57,16 @@ jobs: searchFolder: '$(Build.SourcesDirectory)/src/Components/test/E2ETest/TestResults' testRunTitle: ComponentsE2E-$(AgentOsName)-$(BuildConfiguration)-xunit condition: always() + - task: PublishTestResults@2 + displayName: Publish Quarantined E2E Test Results + inputs: + testResultsFormat: 'xUnit' + testResultsFiles: '*.xml' + searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined' + testRunTitle: Quarantine-$(AgentOsName)-$(BuildConfiguration)-xunit + mergeTestResults: true + condition: always() + artifacts: - name: Components_E2E_Test_Logs path: ./src/Components/test/E2ETest/TestResults diff --git a/src/Components/test/E2ETest/Tests/JSRootComponentsTest.cs b/src/Components/test/E2ETest/Tests/JSRootComponentsTest.cs index 47913ba7eaf..a283834244b 100644 --- a/src/Components/test/E2ETest/Tests/JSRootComponentsTest.cs +++ b/src/Components/test/E2ETest/Tests/JSRootComponentsTest.cs @@ -36,6 +36,7 @@ public class JSRootComponentsTest : ServerTestBase