Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev committed Apr 24, 2020
1 parent c5d0b67 commit d6253e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/main/test/specs/ComboBox.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ describe("General interaction", () => {
const input = combo.shadow$("#ui5-combobox-input");
const staticAreaItemClassName = browser.getStaticAreaItemClassName("#combo");
const popover = browser.$(`.${staticAreaItemClassName}`).shadow$("ui5-responsive-popover");
const listItems = popover.$("ui5-list").$$("ui5-li");

input.click();
input.keys("b");
Expand All @@ -40,6 +39,7 @@ describe("General interaction", () => {

assert.strictEqual(selection, "ahrain", "ahrain should be selected");
assert.strictEqual(combo.getProperty("value"), "Bulgaria", "Value should be Bulgaria");
const listItems = popover.$("ui5-list").$$("ui5-li");
assert.ok(listItems[0].getProperty("selected"), "List Item should be selected");

lazy.click();
Expand Down Expand Up @@ -169,4 +169,4 @@ describe("General interaction", () => {
listItems = popover.$("ui5-list").$$("ui5-li");
assert.strictEqual(listItems.length, 0, "Items should be 0");
});
});
});

0 comments on commit d6253e5

Please sign in to comment.