diff --git a/showcases/ui5-app/webapp/test/e2e/binding.test.js b/showcases/ui5-app/webapp/test/e2e/binding.test.js index c5a79f19..7b833aa7 100644 --- a/showcases/ui5-app/webapp/test/e2e/binding.test.js +++ b/showcases/ui5-app/webapp/test/e2e/binding.test.js @@ -21,7 +21,8 @@ describe("binding", function () { expect(onTheOtherPage.iShouldSeeListItems()).toBeTruthy(); // ui5 api + high-speed aggregation retrieval: https://ui5-community.github.io/wdi5/#/usage?id=getshorthand-conveniences - const aListItems = await browser.asControl(list).getItems(true); + const oList = await browser.asControl(this._listPeople); + const aListItems = await oList.getItems(true); expect(aListItems.length).toBeGreaterThanOrEqual(1); }); });