Skip to content

Commit 38d2206

Browse files
committed
Revert to dotnet test but with a binlog.
1 parent 2ade1eb commit 38d2206

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.azure/pipelines/components-e2e-tests.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,13 @@ jobs:
5656
displayName: NPM install
5757
- script: npm run build
5858
displayName: Build JS
59-
- script: ./eng/build.sh -ci
60-
-projects "$(Build.SourcesDirectory)/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj"
61-
-c $(BuildConfiguration)
62-
-no-restore
59+
- script: .dotnet/dotnet build ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-restore
6360
displayName: Build
64-
- script: ./eng/build.sh -test
65-
-no-build
66-
-ci
67-
-no-build-repo-tasks
68-
-projects "$(Build.SourcesDirectory)/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj"
69-
-configuration "$(BuildConfiguration)"
70-
-p:TestCaseFilter="Quarantined!=true|Quarantined=false"
61+
- script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter 'Quarantined!=true|Quarantined=false' /bl:$(Build.SourcesDirectory)/artifacts/TestResults/$(BuildConfiguration)/Unquarantined/e2e.binlog
7162
-p:VsTestUseMSBuildOutput=false
72-
-p:VSTestLogger="trx;LogFileName=Microsoft.AspNetCore.Components.E2ETests.trx"
73-
-p:VSTestLogger="html;LogFileName=Microsoft.AspNetCore.Components.E2ETests.html"
74-
-p:TestResultsDirectory="$(Build.SourcesDirectory)/artifacts/TestResults/$(BuildConfiguration)/Unquarantined"
63+
--logger:"trx%3BLogFileName=Microsoft.AspNetCore.Components.E2ETests.trx"
64+
--logger:"html%3BLogFileName=Microsoft.AspNetCore.Components.E2ETests.html"
65+
--results-directory $(Build.SourcesDirectory)/artifacts/TestResults/$(BuildConfiguration)/Unquarantined
7566
displayName: Run E2E tests
7667
- script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter 'Quarantined=true' -p:RunQuarantinedTests=true
7768
-p:VsTestUseMSBuildOutput=false

0 commit comments

Comments
 (0)