6
6
7
7
# We just need one Windows machine because all it does is trigger SauceLabs.
8
8
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
+
13
21
jobs :
14
22
- template : jobs/default-build.yml
15
23
parameters :
21
29
afterBuild :
22
30
23
31
# macOS/Safari
24
- - script : ' dotnet test --filter "StandaloneAppTest"'
32
+ - script : ' dotnet test --no-build --configuration Release -- filter "StandaloneAppTest"'
25
33
workingDirectory : ' src/Components/test/E2ETest'
26
34
displayName : ' Run Blazor tests - macOS/Safari'
27
35
condition : succeededOrFailed()
37
45
E2ETESTS_Sauce__SeleniumVersion : ' 3.4.0'
38
46
39
47
# Android/Chrome
40
- - script : ' dotnet test --filter "StandaloneAppTest"'
48
+ - script : ' dotnet test --no-build --configuration Release -- filter "StandaloneAppTest"'
41
49
workingDirectory : ' src/Components/test/E2ETest'
42
50
displayName : ' Run Blazor tests - Android/Chrome'
43
51
condition : succeededOrFailed()
55
63
E2ETESTS_Sauce__AppiumVersion : ' 1.9.1'
56
64
artifacts :
57
65
- name : Windows_Logs
58
- path : ../../ artifacts/log/
66
+ path : artifacts/log/
59
67
publishOnError : true
0 commit comments