test: fix failing accessibility tests in msedge-dev (#10806)

This commit is contained in:
Max Schmitt 2021-12-08 15:21:09 -08:00 committed by GitHub
parent 04aa38a663
commit aca350d17c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -300,7 +300,7 @@ it('should work on a menu', async ({ page, browserName, browserVersion }) => {
[ { role: 'menuitem', name: 'First Item' },
{ role: 'menuitem', name: 'Second Item' },
{ role: 'menuitem', name: 'Third Item' } ],
orientation: (browserName === 'webkit' || (browserName === 'chromium' && !chromiumVersionLessThan(browserVersion, '98.0.4696.0'))) ? 'vertical' : undefined
orientation: (browserName === 'webkit' || (browserName === 'chromium' && !chromiumVersionLessThan(browserVersion, '98.0.1089'))) ? 'vertical' : undefined
});
});