Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

How do I ask protractor not to wait for angular? #576

@Droogans

Description

@Droogans

When I click a menu element on my page, it fires off a request to an api. Protractor will (correctly) wait for that request to return, have angular redraw some elements, and then will continue.

In this example, when I click this element, it will expose a sub-menu, and will also make a call to the api.

This causes protractor to hang around and wait a few seconds for the call to finish, even though I have no interest in it. I'd like to have it simply "click through" these menus, opting not to wait until angular is completely finished with the api request.

Do you have any suggestions for these kinds of situations? Is there any way to have protractor cancel an api call from angular so that it's done waiting?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions