Enable tests on other browsers

This commit is contained in:
Daniel Imms
2020-02-15 03:35:08 -08:00
parent 1d0cceb2d3
commit 502452f58e
2 changed files with 29 additions and 5 deletions
+25 -4
View File
@@ -100,8 +100,18 @@ jobs:
- script: |
yarn start &
sleep 10
yarn test-api --headless --forbid-only
displayName: 'Linux Integration tests'
yarn test-api-chromium --headless --forbid-only
displayName: 'Integration tests (Chromium)'
- script: |
yarn start &
sleep 10
yarn test-api-firefox --headless --forbid-only
displayName: 'Integration tests (Firefox)'
- script: |
yarn start &
sleep 10
yarn test-api-webkit --headless --forbid-only
displayName: 'Integration tests (Webkit)'
- job: macOS_IntegrationTests
pool:
@@ -116,8 +126,19 @@ jobs:
- script: |
yarn start &
sleep 10
yarn test-api --headless --forbid-only
displayName: 'MacOS Integration tests'
yarn test-api-chromium --headless --forbid-only
displayName: 'Integration tests (Chromium)'
- script: |
yarn start &
sleep 10
yarn test-api-firfox --headless --forbid-only
continueOnError: true,
displayName: 'Integration tests (Firefox)'
- script: |
yarn start &
sleep 10
yarn test-api-webkit --headless --forbid-only
displayName: 'Integration tests (Webkit)'
- job: Release
dependsOn:
+4 -1
View File
@@ -14,7 +14,10 @@
"lint": "tslint 'src/**/*.ts' 'addons/*/src/**/*.ts'",
"test": "npm run test-unit",
"posttest": "npm run lint",
"test-api": "mocha \"**/*.api.js\"",
"test-api": "npm run test-api-chromium",
"test-api-chromium": "mocha \"**/*.api.js\" --browser chromium",
"test-api-firefox": "mocha \"**/*.api.js\" --browser firefox",
"test-api-webkit": "mocha \"**/*.api.js\" --browser webkit",
"test-unit": "node ./bin/test.js",
"test-unit-coverage": "node ./bin/test.js --coverage",
"build": "tsc -b ./tsconfig.all.json",