mdasberg / ng-apimock

Node plugin that provides the ability to use scenario based api mocking: for local development for protractor testing
MIT License
99 stars 26 forks source link

Feature/delayed mock response #4

Closed Remco75 closed 8 years ago

Remco75 commented 8 years ago

Added option to hold back the response of a mock-call. This can be used in conjunction with browser.ignoreSynchronisation to test UI behaviour when API calls are pending.

see protractor tests for implementation

Remco75 commented 8 years ago

I only implemented this for the programmatic interface. We could make this function available in the mocking interface as well. Won't be hard, but we need to think of a UI.

Remco75 commented 8 years ago

travis integration does not work, can't find the selenium jar, local tests are passing

Remco75 commented 8 years ago

duurt lang ;-)

FrankMerema commented 8 years ago

Looking good but why can't it find the selenium jar anymore?

Remco75 commented 8 years ago

this is the reason, the error is kinda cryptic, but this is the cause: https://docs.travis-ci.com/user/pull-requests#Pull-Requests-and-Security-Restrictions