You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some scenarios, it makes sense to assert the (visible?) amount of displayed views based on a criteria (matcher).
For example, a list with a search bar or a filter-options selector: It makes sense to assert that given a search term 'xyz', exactly 3 items would be displayed.
For this, (on behalf of the team) I'd like to propose the following conceptual API extensions, based on modifiers:
awaitexpect(element(by.whatever(''))).count(2).toBeVisible()awaitexpect(element(by.whatever(''))).atLeast(2).toBeVisible()awaitexpect(element(by.whatever(''))).all.toBeVisible()awaitexpect(element(by.whatever(''))).all.toExist()// Valid for all expectation typesawaitexpect(element(by.whatever(''))).all.not.toBeVisible()// The not modifier is still applicable
(and so on)
The text was updated successfully, but these errors were encountered:
Describe your idea
In some scenarios, it makes sense to assert the (visible?) amount of displayed views based on a criteria (matcher).
For example, a list with a search bar or a filter-options selector: It makes sense to assert that given a search term 'xyz', exactly 3 items would be displayed.
For this, (on behalf of the team) I'd like to propose the following conceptual API extensions, based on modifiers:
(and so on)
The text was updated successfully, but these errors were encountered: