Skip to content

Commit

Permalink
test(ui5-tabcontainer): stabilize test (#9883)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimovpetar authored Sep 16, 2024
1 parent 85661f7 commit cfd82fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/main/test/pageobjects/TabContainerTestPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class TabContainerTestPage {
}

async focusItem(tabId) {
await browser.executeAsync((tabId, done) => {
document.getElementById(tabId).focus();
await browser.executeAsync(async (tabId, done) => {
await document.getElementById(tabId).focus();
done();
}, tabId);
}
Expand Down

0 comments on commit cfd82fd

Please sign in to comment.