Skip to content

Commit 8c90b84

Browse files
authored
chore: enable a11y test for stencil tabs (#4499)
1 parent 85e59ff commit 8c90b84

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

showcases/e2e/tabs/tabs-a11y.spec.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import { test } from '@playwright/test';
2-
import { isStencil, runA11yCheckerTest, runAxeCoreTest } from '../default.ts';
2+
import { runA11yCheckerTest, runAxeCoreTest } from '../default.ts';
33
import { lvl3 } from '../fixtures/variants';
44

55
// We need to change tabs anyway, we disable the rules for now
66
// TODO: There might be an issue in our implementation of which elements get which roles
77
// So we disabled "aria-allowed-role" for now
88
const axeDisableRules = ['aria-allowed-role'];
99
const aCheckerDisableRules = ['input_checkboxes_grouped', 'aria_role_valid'];
10-
// TODO: We skip this for now until mitosis output is correct
11-
const skipChecker = isStencil(process.env.showcase);
1210

1311
test.describe('DBTabs', () => {
1412
runAxeCoreTest({ path: '04/tabs', axeDisableRules });
@@ -20,7 +18,6 @@ test.describe('DBTabs', () => {
2018
});
2119
runA11yCheckerTest({
2220
path: '04/tabs',
23-
aCheckerDisableRules,
24-
skipChecker
21+
aCheckerDisableRules
2522
});
2623
});

0 commit comments

Comments
 (0)