Skip to content

Commit

Permalink
chore(test): fix extension usage
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Feb 9, 2024
1 parent a1c9b94 commit d74c63a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ Currently `fast_htmlcs` runs around 50x faster than axe-core and has several dif

If you use [`@playwright/axe-core`](https://playwright.dev/docs/next/accessibility-testing) you can swap it out with the following [playwright-axe-example](./kayle/tests/basic-axe-playwright.spec.ts) and get an increase in issues found and major performance boost of at least 100%. You can also include multiple runners to extend the issues beyond the basics in folds.

We have not tested IBM Ace for performance thoroughly yet but, from the surface the performance is about 40% slower than axe, if the runner seems to have issues we may fork it and add it to the `fast_` prefix. The perf drawbacks may be from the lib handling all locales in one script.

## Performance Tips

As we set the foundation to mark test cases that can pass and increase our target on automating accessibility we have a couple of layers that can make a major difference to the project. The following will save drastic time and money if done.
Expand Down
1 change: 1 addition & 0 deletions kayle/tests/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { performance } from "perf_hooks";
const ext = join(cwd(), "chrome-extension");

const browser = await puppeteer.launch({
headless: "new",
dumpio: true,
ignoreDefaultArgs: ["--disable-extensions"],
args: [
Expand Down

0 comments on commit d74c63a

Please sign in to comment.