-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Update puppeteer to v3 with Firefox.
- Loading branch information
1 parent
4d5f1ba
commit cdad9d8
Showing
3 changed files
with
398 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ pool: | |
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '8.x' | ||
versionSpec: '12.x' | ||
|
||
- task: Npm@1 | ||
displayName: 'npm ci' | ||
|
@@ -19,3 +19,24 @@ steps: | |
workingDir: ./tests/ | ||
command: custom | ||
customCommand: 'run test:ci' | ||
|
||
- task: Bash@3 | ||
inputs: | ||
targetType: 'inline' | ||
workingDirectory: ./tests/ | ||
script: PUPPETEER_PRODUCT=firefox npm install [email protected] | ||
|
||
- task: Bash@3 | ||
inputs: | ||
targetType: 'inline' | ||
workingDirectory: ./tests/ | ||
script: PUPPETEER_PRODUCT=firefox npm run test:ci | ||
|
||
- task: Npm@1 | ||
displayName: 'npm test' | ||
inputs: | ||
workingDir: ./tests/ | ||
command: custom | ||
customCommand: 'run test:ci' | ||
variables: | ||
PUPPETEER_PRODUCT: firefox |
Oops, something went wrong.