Skip to content

Commit cdad9d8

Browse files
committed
Tests: Update puppeteer to v3 with Firefox.
1 parent 4d5f1ba commit cdad9d8

File tree

3 files changed

+398
-168
lines changed

3 files changed

+398
-168
lines changed

azure-pipelines.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pool:
44
steps:
55
- task: NodeTool@0
66
inputs:
7-
versionSpec: '8.x'
7+
versionSpec: '12.x'
88

99
- task: Npm@1
1010
displayName: 'npm ci'
@@ -19,3 +19,24 @@ steps:
1919
workingDir: ./tests/
2020
command: custom
2121
customCommand: 'run test:ci'
22+
23+
- task: Bash@3
24+
inputs:
25+
targetType: 'inline'
26+
workingDirectory: ./tests/
27+
script: PUPPETEER_PRODUCT=firefox npm install [email protected]
28+
29+
- task: Bash@3
30+
inputs:
31+
targetType: 'inline'
32+
workingDirectory: ./tests/
33+
script: PUPPETEER_PRODUCT=firefox npm run test:ci
34+
35+
- task: Npm@1
36+
displayName: 'npm test'
37+
inputs:
38+
workingDir: ./tests/
39+
command: custom
40+
customCommand: 'run test:ci'
41+
variables:
42+
PUPPETEER_PRODUCT: firefox

0 commit comments

Comments
 (0)