-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
43 lines (41 loc) · 985 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
trigger:
- main
pool:
vmImage: ubuntu-latest
steps:
- task: UseDotNet@2
displayName: 'Install .NET'
inputs:
packageType: 'sdk'
version: '6.0.x'
- task: DotNetCoreCLI@2
displayName: New Manifest for tool
inputs:
command: custom
custom: 'new '
arguments: tool-manifest
- task: DotNetCoreCLI@2
displayName: Install Playwright CLI
inputs:
command: custom
custom: 'tool '
arguments: install Microsoft.Playwright.CLI
- task: DotNetCoreCLI@2
displayName: 'Build test project'
inputs:
command: 'build'
projects: 'PlaywrightTest1/PlaywrightTest1.csproj'
- task: DotNetCoreCLI@2
displayName: Run Playwright Install
inputs:
command: custom
custom: 'tool '
arguments: run playwright install
- task: DotNetCoreCLI@2
displayName: 'Run tests'
inputs:
command: 'test'
projects: 'PlaywrightTest1/PlaywrightTest1.csproj'
arguments: '-e BROWSER=chromium'
testRunTitle: 'Chrome results'
buildProperties: