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.

HTTP/AJAX Mocking and assertions #31

@appleton

Description

@appleton

Currently I'm running my tests against a server which responds to my AJAX requests with canned chunks of JSON. It would be great to be able to make assertions against these requests in a similar way to karma

$httpBackend.expectGET('some/url').respond({some: 'JSON'});

The only solution I have right now is to run protractor and my connect server in the same process and then write an interface a bit like this manually.

I'd love to get a discussion going about plans to deal with this in protractor.

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