Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test/tests/toolbar_toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ ariaTest(
let menu = await t.context.session.findElement(By.css(ex.menuSelector));

for (let i = 0; i < menuItems.length; i++) {
// Reset expanded state if necessary
if ((await menuButton.getAttribute('aria-expanded')) === 'true') {
await menuButton.click();
}
await menuButton.click();
await t.context.session.wait(
async function () {
Expand Down