diff --git a/test/tests/disclosure_navigation.js b/test/tests/disclosure_navigation.js index a12d64da3d..228e452f18 100644 --- a/test/tests/disclosure_navigation.js +++ b/test/tests/disclosure_navigation.js @@ -73,6 +73,10 @@ ariaTest( for (let l = 0; l < links.length; l++) { await buttons[b].click(); + await t.context.session.executeScript(function () { + const link = arguments[0]; + link.scrollIntoView({ block: 'center' }); + }, links[l]); await links[l].click(); t.is(