Skip to content

avoid using .then in cypress tests, assing values to variables and then proceed #7270

@renemadsen

Description

@renemadsen

The current style of getting the number of items in a page with the same domId is not working correctly/flaky when using the style of eg:

navigationMenuPage.getMenuItems().its('length').then(initialCount => {

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions