Skip to content

Commit 96ff268

Browse files
committed
Change to build.sh -test.
1 parent aa0ae53 commit 96ff268

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,13 @@ jobs:
5858
displayName: Build JS
5959
- script: .dotnet/dotnet build ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-restore
6060
displayName: Build
61-
- script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter 'Quarantined!=true|Quarantined=false'
62-
-p:VsTestUseMSBuildOutput=false
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
61+
- script: ./eng/build.sh -no-build -test -projects src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj \
62+
-c $(BuildConfiguration) \
63+
-p:TestCaseFilter="Quarantined!=true|Quarantined=false" \
64+
-p:VsTestUseMSBuildOutput=false \
65+
-p:VSTestLogger="trx;LogFileName=Microsoft.AspNetCore.Components.E2ETests.trx" \
66+
-p:VSTestLogger="html;LogFileName=Microsoft.AspNetCore.Components.E2ETests.html" \
67+
-p:TestResultsDirectory=$(Build.SourcesDirectory)/artifacts/TestResults/$(BuildConfiguration)/Unquarantined
6668
displayName: Run E2E tests
6769
- script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter 'Quarantined=true' -p:RunQuarantinedTests=true
6870
-p:VsTestUseMSBuildOutput=false

0 commit comments

Comments
 (0)