Skip to content

E2E testing with Protractor #101

Open

Description

@tamlyn

I'm trying to write some end-to-end tests for my application which uses this module. My problem is that Protractor waits for all $http requests to finish before running the tests. Since the request is intercepted, Protractor just times out:

Timed out waiting for Protractor to synchronize with the page after 11 seconds.

There's a related question on SO but no answers.

Anyone have a strategy for handling this situation?

Activity

  1. dehru commented on Jul 15, 2015

    @dehru

    I'm having this same issue. I'm wondering if there's a way to just tell protractor to move on....

  2. dehru commented on Jul 16, 2015

    @dehru

    I'm able to use this module, write a protractor test to verify login, using this.

    beforeEach(function() {
       browser.ignoreSynchronization = true;
    });
    
    afterEach(function() {
       browser.ignoreSynchronization = false;
    });
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions