wdi5
wdi5 copied to clipboard
remove flp navigation recipe
How we currently suggest to navigate in the FLP is more of a bad practice than a good one. In my opinion there are 3 better ways to do that:
- use the full link in the
baseUrl
to your application (with semantic object and action). That way you save also time while not waiting for the launchpad to load.
If you really want to start with a launchpad:
- use the
wdi5.goTo("#semanticObject-action")
function to navigate to one specific application in the launchpad
If you really want to identify the tile via wdi5:
- use the full capabilities of the matchers combined:
await browser.asControl({
selector: {
controlType: "sap.ushell.ui.generic.Tile",
descendant: {
controlType: "sap.m.Text",
properties: {
text: 'text'
}
}
}
}
All three ways are better than our current one where we suggest to programmatically navigate the control tree up.
with you on the not-so-good practice of FLP navigation...but I'd favor the above to be in the recipes
rather than just deleting the section.
all pro code-deletion, but not for docs 😝
re-pinging you @Siolto for your opinion on rather updating the recipe
with your (excellent!) suggestion than deleting it