jeudi 11 février 2021

Protractor - Simulate get response from an api

I would like to make a GET request on my test environment, unfortunately the request is down because the API is not present on the test environment

it is possible to simulate the reponse of this GET request with Protractor? How can I Do ?

The response of this API must to return a new elements on my page and i would like to test it with protractor.

Thank you in advance for your answers

Aucun commentaire:

Enregistrer un commentaire