test reporter html
This commit is contained in:
parent
1d8b6495b2
commit
92fea37170
|
@ -36,7 +36,7 @@ pipeline {
|
||||||
)
|
)
|
||||||
]) {
|
]) {
|
||||||
def report = pa11y.audit(u.trim(), [
|
def report = pa11y.audit(u.trim(), [
|
||||||
reporter: 'junit',
|
reporter: 'html',
|
||||||
username: env.MSEDEV_USERNAME,
|
username: env.MSEDEV_USERNAME,
|
||||||
password: env.MSEDEV_PASSWORD,
|
password: env.MSEDEV_PASSWORD,
|
||||||
standard: 'WCAG2AA',
|
standard: 'WCAG2AA',
|
||||||
|
@ -44,13 +44,13 @@ pipeline {
|
||||||
includeWarnings: params.INCLUDE_WARNINGS,
|
includeWarnings: params.INCLUDE_WARNINGS,
|
||||||
])
|
])
|
||||||
|
|
||||||
writeFile file:"./report_${count}.xml", text:report
|
writeFile file:"./report_${count}.html", text:report
|
||||||
count++
|
count++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
junit testResults: '*.xml', skipPublishingChecks: true
|
junit testResults: '*.html', skipPublishingChecks: true
|
||||||
|
|
||||||
rocketSend(
|
rocketSend(
|
||||||
channel: '#cnous-mse',
|
channel: '#cnous-mse',
|
||||||
|
|
|
@ -35,7 +35,7 @@ RUN apk add --no-cache \
|
||||||
chromium \
|
chromium \
|
||||||
bash
|
bash
|
||||||
|
|
||||||
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install -g pa11y@^5.0.0 pa11y-reporter-html@^1.0.0 pa11y-reporter-junit
|
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install -g pa11y@^6.2.3
|
||||||
|
|
||||||
RUN adduser -D pa11y
|
RUN adduser -D pa11y
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue