Skip to content

Commit

Permalink
chore: bump axe-test-fixtures from 72ec3ff to a8b90eb (#933)
Browse files Browse the repository at this point in the history
* chore: bump axe-test-fixtures from `72ec3ff` to `a8b90eb`

Bumps [axe-test-fixtures](https://github.com/dequelabs/axe-test-fixtures) from `72ec3ff` to `a8b90eb`.
- [Commits](dequelabs/axe-test-fixtures@72ec3ff...a8b90eb)

---
updated-dependencies:
- dependency-name: axe-test-fixtures
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix test

* fix tests for real

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steven Lambert <[email protected]>
  • Loading branch information
dependabot[bot] and straker authored Dec 1, 2023
1 parent b5aee34 commit 4af4d7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions packages/playwright/test/axe-playwright.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ describe('@axe-core/playwright', () => {
const res = await page.goto(`${addr}/context-include-exclude.html`);
const results = await new AxeBuilder({ page })
.include('.include')
// .exclude('.exclude')
.exclude('.exclude')
.analyze();
const flattenTarget = flatPassesTargets(results);

Expand Down Expand Up @@ -513,10 +513,8 @@ describe('@axe-core/playwright', () => {
const flattenTarget = flatPassesTargets(results);

assert.equal(res?.status(), 200);
assert.strictEqual(flattenTarget[0], '.include');
assert.strictEqual(flattenTarget[1], '.include2');
assert.notInclude(flattenTarget, '.exclude');
assert.notInclude(flattenTarget, '.exclude2');
assert.isTrue(flattenTarget.includes('.include'));
assert.isTrue(flattenTarget.includes('.include2'));
});

it('with chaining excludes', async () => {
Expand Down

0 comments on commit 4af4d7d

Please sign in to comment.