test(many): resolve more flaky tests (#26731)

This commit is contained in:
Liam DeBeasi
2023-02-03 13:21:38 -05:00
committed by GitHub
parent 9d6ec2925c
commit 7553cc7b0d
40 changed files with 6 additions and 21 deletions

View File

@ -10,7 +10,9 @@ test.describe('segment: a11y', () => {
expect(results.violations).toEqual([]);
});
test('segment buttons should be keyboard navigable', async ({ page, browserName }, testInfo) => {
test('segment buttons should be keyboard navigable', async ({ page, browserName, skip }, testInfo) => {
// TODO (FW-2979)
skip.browser('webkit', 'Safari 16 only allows text fields and pop-up menus to be focused.');
const tabKey = browserName === 'webkit' ? 'Alt+Tab' : 'Tab';
const isRTL = testInfo.project.metadata.rtl === true;
const nextKey = isRTL ? 'ArrowLeft' : 'ArrowRight';