mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
test(many): resolve more flaky tests (#26731)
This commit is contained in:
@ -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';
|
||||
|
||||
Reference in New Issue
Block a user