Skip to content

Commit

Permalink
Test link.click inside
Browse files Browse the repository at this point in the history
  • Loading branch information
howard-e committed Jul 1, 2024
1 parent cd9c61d commit bd7524f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/tests/disclosure_navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ ariaTest(
await t.context.session.executeScript(function () {
const link = arguments[0];
link.scrollIntoView({ behavior: 'instant', block: 'nearest' });
link.click();
}, links[l]);
await links[l].click();
// await links[l].click();

t.is(
await links[l].getAttribute('aria-current'),
Expand Down

0 comments on commit bd7524f

Please sign in to comment.