The theme plugin has playwright tests that include a bunch of accessibility assertions.
The tests runs runAccessibilityTests from @workspaces/theme/packages/app-legacy/e2e-tests/utils/acessibility.ts and @workspaces/theme/packages/app/e2e-tests/utils/acessibility.ts, but failures are ignored at the moment.
- Remove the
skipViolationsAssert attribute from the options parameter of runAccessibilityTests.
- Run the expect statement always to check the validations.
- Run the playwright tests via
CI=1 yarn test:e2e and list the left over issues.
- Try to resolve these issues in the code base. When unsure, or not all issues can be removed, create a PR anyway.
The theme plugin has playwright tests that include a bunch of accessibility assertions.
The tests runs
runAccessibilityTestsfrom@workspaces/theme/packages/app-legacy/e2e-tests/utils/acessibility.tsand@workspaces/theme/packages/app/e2e-tests/utils/acessibility.ts, but failures are ignored at the moment.skipViolationsAssertattribute from theoptionsparameter ofrunAccessibilityTests.CI=1 yarn test:e2eand list the left over issues.