Skip to content

Commit 8c1119c

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

File tree

3 files changed

+392
-169
lines changed

3 files changed

+392
-169
lines changed

Diff for: azure-pipelines.yml

+16-2
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'
@@ -14,8 +14,22 @@ steps:
1414
customCommand: 'ci'
1515

1616
- task: Npm@1
17-
displayName: 'npm test'
17+
displayName: 'npm test chrome'
1818
inputs:
1919
workingDir: ./tests/
2020
command: custom
2121
customCommand: 'run test:ci'
22+
23+
- task: Bash@3
24+
displayName: 'npm install puppeteer firefox'
25+
inputs:
26+
targetType: 'inline'
27+
workingDirectory: ./tests/
28+
script: PUPPETEER_PRODUCT=firefox npm install [email protected]
29+
30+
- task: Bash@3
31+
displayName: 'npm test firefox'
32+
inputs:
33+
targetType: 'inline'
34+
workingDirectory: ./tests/
35+
script: PUPPETEER_PRODUCT=firefox npm run test:ci

0 commit comments

Comments
 (0)