Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .azure/pipelines/blazor-daily-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,18 @@

# We just need one Windows machine because all it does is trigger SauceLabs.
variables:
SAUCE_CONNECT_DOWNLOAD_ON_INSTALL: true
E2ETESTS_SauceTest: true
E2ETESTS_Sauce__TunnelIdentifier: 'blazor-e2e-sc-proxy-tunnel'
E2ETESTS_Sauce__HostName: 'sauce.local'
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- group: DotNet-MSRC-Storage
- group: AzureDevOps-Artifact-Feeds-Pats
- name: SAUCE_CONNECT_DOWNLOAD_ON_INSTALL
value: true
- name: E2ETESTS_SauceTest
value: true
- name: E2ETESTS_Sauce__TunnelIdentifier
value: 'blazor-e2e-sc-proxy-tunnel'
- name: E2ETESTS_Sauce__HostName
value: 'sauce.local'

jobs:
- template: jobs/default-build.yml
parameters:
Expand All @@ -21,7 +29,7 @@ jobs:
afterBuild:

# macOS/Safari
- script: 'dotnet test --filter "StandaloneAppTest"'
- script: 'dotnet test --no-build --configuration Release --filter "StandaloneAppTest"'
workingDirectory: 'src/Components/test/E2ETest'
displayName: 'Run Blazor tests - macOS/Safari'
condition: succeededOrFailed()
Expand All @@ -37,7 +45,7 @@ jobs:
E2ETESTS_Sauce__SeleniumVersion: '3.4.0'

# Android/Chrome
- script: 'dotnet test --filter "StandaloneAppTest"'
- script: 'dotnet test --no-build --configuration Release --filter "StandaloneAppTest"'
workingDirectory: 'src/Components/test/E2ETest'
displayName: 'Run Blazor tests - Android/Chrome'
condition: succeededOrFailed()
Expand All @@ -55,5 +63,5 @@ jobs:
E2ETESTS_Sauce__AppiumVersion: '1.9.1'
artifacts:
- name: Windows_Logs
path: ../../artifacts/log/
path: artifacts/log/
publishOnError: true
2 changes: 1 addition & 1 deletion eng/Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$(RepoRoot)src\Installers\**\*.*proj;
$(RepoRoot)src\SignalR\clients\ts\**\node_modules\**\*.*proj;
$(RepoRoot)src\Components\Web.JS\node_modules\**\*.*proj;
$(RepoRoot)src\Components\WebAssembly\Build\testassets\**\*.csproj;
$(RepoRoot)src\Components\WebAssembly\Sdk\testassets\**\*.csproj;
$(RepoRoot)src\ProjectTemplates\Web.ProjectTemplates\content\**\*.csproj;
$(RepoRoot)src\ProjectTemplates\Web.ProjectTemplates\content\**\*.fsproj;
$(RepoRoot)src\ProjectTemplates\Web.Spa.ProjectTemplates\content\**\*.csproj;
Expand Down