Skip to content

Commit

Permalink
Tests: Update puppeteer to v3 with Firefox.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosperate committed Apr 20, 2020
1 parent 4d5f1ba commit cdad9d8
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 168 deletions.
23 changes: 22 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pool:
steps:
- task: NodeTool@0
inputs:
versionSpec: '8.x'
versionSpec: '12.x'

- task: Npm@1
displayName: 'npm ci'
Expand All @@ -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
Loading

0 comments on commit cdad9d8

Please sign in to comment.