Skip to content

Commit

Permalink
ci: accessibility testing to test-runner
Browse files Browse the repository at this point in the history
- use correct root level
  • Loading branch information
millnut committed Oct 17, 2023
1 parent 2c31cc2 commit e70ed70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .storybook/test-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const a11yConfig: TestRunnerConfig = {
await injectAxe(page);
},
async postRender(page) {
await checkA11y(page, '#root', {
await checkA11y(page, '#storybook-root', {
detailedReport: true,
detailedReportOptions: {
html: true
Expand Down

0 comments on commit e70ed70

Please sign in to comment.