expect
Expects a condition, for example, exists()
or notExits()
.
Use the structure expect().<your filter>.(exists()|notExists())
as shown in the examples below.
Examples:
await aui.expect().text('Login').exists().exec()
await aui.expect().text('Login').notExists().exec()