protractor-accessibility-plugin for audit on CI (#521)

This commit is contained in:
Sendil Kumar N
2016-05-27 00:43:14 +08:00
committed by Jeremy Elbourn
parent 3b527e8721
commit 632e90cb73
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -60,6 +60,7 @@
"karma-sauce-launcher": "^0.2.14",
"node-sass": "^3.4.2",
"protractor": "^3.3.0",
"protractor-accessibility-plugin": "0.1.1",
"sass": "^0.5.0",
"strip-ansi": "^3.0.0",
"symlink-or-copy": "^1.0.1",
+6
View File
@@ -10,6 +10,12 @@ require('ts-node').register({
const E2E_BASE_URL = process.env['E2E_BASE_URL'] || 'http://localhost:4200';
const config = {
useAllAngular2AppRoots: true,
plugins: [{
chromeA11YDevTools: {
treatWarningsAsFailures: true
},
package: 'protractor-accessibility-plugin'
}],
specs: [ path.join(__dirname, '../e2e/**/*.e2e.ts') ],
baseUrl: E2E_BASE_URL
};