Skip to content

Commit

Permalink
Ignore playwright errors on svg elements for now
Browse files Browse the repository at this point in the history
This error needs to be fixed upstream in next-image-export-optimizer

Signed-off-by: Eduard Itrich <eduard.itrich@porsche.de>
on-behalf-of: @porscheofficial <open_source_office@porsche.de>
  • Loading branch information
itrich committed Nov 3, 2023
1 parent ebe570d commit 4edeedf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/a11y.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const runA11yScan = async (page: Page, path: string): Promise<void> => {
const accessibilityScanResults = await new AxeBuilder({ page })
.withTags(["wcag2a", "wcag21a", "best-practice", "wcag2aa", "wcag21aa"])
.exclude("p-carousel")
.exclude("svg")
.analyze();

expect(accessibilityScanResults.violations).toEqual([]);
Expand Down

0 comments on commit 4edeedf

Please sign in to comment.