Skip to content

Commit

Permalink
test(ui5-side-navigation): correct test (#8138)
Browse files Browse the repository at this point in the history
Fixes #8103
  • Loading branch information
LidiyaGeorgieva authored and ilhan007 committed Jan 25, 2024
1 parent 0e79713 commit d5e8a9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/fiori/test/specs/SideNavigation.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,11 @@ describe("Component Behavior", () => {


// Act: apply new height
await browser.setWindowSize(500, 350);
await browser.setWindowSize(500, 450);

// Check
const overflowItem = await sideNavigationTree.shadow$(".ui5-sn-item-overflow");
await overflowItem.waitForDisplayed();
assert.ok(await overflowItem.isDisplayed(), "Overflow button should be available");

// Act: apply new height
Expand Down

0 comments on commit d5e8a9f

Please sign in to comment.