Skip to content

Commit 9939b33

Browse files
authored
Fixed blazor-daily-tests-yml (#25462)
* Fixed blazor-daily-tests-yml * Fix Build.props * Use dotnet from repo root * Set DOTNET_ROOT * fix * Config release * more fix * more fixes * It works
1 parent dab6a2f commit 9939b33

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.azure/pipelines/blazor-daily-tests.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@
66

77
# We just need one Windows machine because all it does is trigger SauceLabs.
88
variables:
9-
SAUCE_CONNECT_DOWNLOAD_ON_INSTALL: true
10-
E2ETESTS_SauceTest: true
11-
E2ETESTS_Sauce__TunnelIdentifier: 'blazor-e2e-sc-proxy-tunnel'
12-
E2ETESTS_Sauce__HostName: 'sauce.local'
9+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
10+
- group: DotNet-MSRC-Storage
11+
- group: AzureDevOps-Artifact-Feeds-Pats
12+
- name: SAUCE_CONNECT_DOWNLOAD_ON_INSTALL
13+
value: true
14+
- name: E2ETESTS_SauceTest
15+
value: true
16+
- name: E2ETESTS_Sauce__TunnelIdentifier
17+
value: 'blazor-e2e-sc-proxy-tunnel'
18+
- name: E2ETESTS_Sauce__HostName
19+
value: 'sauce.local'
20+
1321
jobs:
1422
- template: jobs/default-build.yml
1523
parameters:
@@ -21,7 +29,7 @@ jobs:
2129
afterBuild:
2230

2331
# macOS/Safari
24-
- script: 'dotnet test --filter "StandaloneAppTest"'
32+
- script: 'dotnet test --no-build --configuration Release --filter "StandaloneAppTest"'
2533
workingDirectory: 'src/Components/test/E2ETest'
2634
displayName: 'Run Blazor tests - macOS/Safari'
2735
condition: succeededOrFailed()
@@ -37,7 +45,7 @@ jobs:
3745
E2ETESTS_Sauce__SeleniumVersion: '3.4.0'
3846

3947
# Android/Chrome
40-
- script: 'dotnet test --filter "StandaloneAppTest"'
48+
- script: 'dotnet test --no-build --configuration Release --filter "StandaloneAppTest"'
4149
workingDirectory: 'src/Components/test/E2ETest'
4250
displayName: 'Run Blazor tests - Android/Chrome'
4351
condition: succeededOrFailed()
@@ -55,5 +63,5 @@ jobs:
5563
E2ETESTS_Sauce__AppiumVersion: '1.9.1'
5664
artifacts:
5765
- name: Windows_Logs
58-
path: ../../artifacts/log/
66+
path: artifacts/log/
5967
publishOnError: true

0 commit comments

Comments
 (0)