How to Test login page without calling Backend services in Protractor?

Viewed 170

I have a login page which authenticates the user by sending a token from the backend. But I want to test my login page with protractor without calling backend service with a dummy token. How to do that??

1 Answers
Related