chore: fix cypress

This commit is contained in:
Shawn Erquhart 2019-03-28 17:33:24 -04:00
parent 351db33b22
commit bba1867f64
2 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,7 @@ jobs:
versionSpec: $(node_version) versionSpec: $(node_version)
- script: | - script: |
${{ parameters.preScript }}
node --version node --version
npm --version npm --version
yarn --version yarn --version

View File

@ -3,10 +3,14 @@ jobs:
parameters: parameters:
name: unit_tests name: unit_tests
vmImage: 'Ubuntu-16.04' vmImage: 'Ubuntu-16.04'
preScript: ''
script: yarn test:ci script: yarn test:ci
- template: azure-pipelines-template.yml - template: azure-pipelines-template.yml
parameters: parameters:
name: e2e_tests name: e2e_tests
vmImage: 'Ubuntu-16.04' vmImage: 'Ubuntu-16.04'
script: yarn test:e2e:ci preScript: |
apt-get update && apt-get install -y libgconf-2-4
script: |
yarn test:e2e:ci