Skip to content

Commit 632e90c

Browse files
sendilkumarnjelbourn
authored andcommitted
protractor-accessibility-plugin for audit on CI (#521)
1 parent 3b527e8 commit 632e90c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"karma-sauce-launcher": "^0.2.14",
6161
"node-sass": "^3.4.2",
6262
"protractor": "^3.3.0",
63+
"protractor-accessibility-plugin": "0.1.1",
6364
"sass": "^0.5.0",
6465
"strip-ansi": "^3.0.0",
6566
"symlink-or-copy": "^1.0.1",

test/protractor.conf.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ require('ts-node').register({
1010
const E2E_BASE_URL = process.env['E2E_BASE_URL'] || 'http://localhost:4200';
1111
const config = {
1212
useAllAngular2AppRoots: true,
13+
plugins: [{
14+
chromeA11YDevTools: {
15+
treatWarningsAsFailures: true
16+
},
17+
package: 'protractor-accessibility-plugin'
18+
}],
1319
specs: [ path.join(__dirname, '../e2e/**/*.e2e.ts') ],
1420
baseUrl: E2E_BASE_URL
1521
};

0 commit comments

Comments
 (0)