mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
test(item): re-enable nested interactive check (#29399)
The ticket was marked as done, but this one was missed.
This commit is contained in:
@ -7,10 +7,7 @@ configs({ directions: ['ltr'] }).forEach(({ config, screenshot, title }) => {
|
|||||||
test('should not have accessibility violations', async ({ page }) => {
|
test('should not have accessibility violations', async ({ page }) => {
|
||||||
await page.goto(`/src/components/item/test/a11y`, config);
|
await page.goto(`/src/components/item/test/a11y`, config);
|
||||||
|
|
||||||
const results = await new AxeBuilder({ page })
|
const results = await new AxeBuilder({ page }).analyze();
|
||||||
// TODO(FW-404): Re-enable rule once select is updated to avoid nested-interactive
|
|
||||||
.disableRules('nested-interactive')
|
|
||||||
.analyze();
|
|
||||||
expect(results.violations).toEqual([]);
|
expect(results.violations).toEqual([]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user