Skip to content

Commit

Permalink
chore: next try to fix the wdi5 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
petermuessig committed Aug 24, 2024
1 parent abd389a commit 0c9c546
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions showcases/ui5-app/webapp/test/e2e/binding.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const MainPage = require("./pages/Main");
const onTheOtherPage = require("./pages/Other");

const list = {
forceSelect: true,
selector: {
viewName: "ui5.ecosystem.demo.app.view.Other",
id: "PeopleList",
Expand All @@ -20,9 +19,8 @@ describe("binding", function () {
await MainPage.iPressTheNavButton();
expect(onTheOtherPage.iShouldSeeTheList()).toBeTruthy();

const oList = await browser.asControl(list);
console.log("LIST", oList);
const aListItems = await oList.getItems(true); // ui5 api + high-speed aggregation retrieval: https://ui5-community.github.io/wdi5/#/usage?id=getshorthand-conveniences
// ui5 api + high-speed aggregation retrieval: https://ui5-community.github.io/wdi5/#/usage?id=getshorthand-conveniences
const aListItems = await browser.asControl(list).getItems(true);
expect(aListItems.length).toBeGreaterThanOrEqual(1);
});
});

0 comments on commit 0c9c546

Please sign in to comment.