You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks a lot for your lib. Using the kcFakeLogin , we have speeded up our test execution.
When I run the tests against a local running application (ng serve). It works like a charm. (See stubbing of the /token request)
But if I run the tests against the production runtime (build with ng build --prod), the token request is not stubbed.
I though it was related to the fact that Cypress cannot stub fetchrequest. See this issue.
The Cypress team recently added an experimental feature to allow fetch request stubbing. (see doc here) but it doesn't seem to change anything. My fetch request is still not stubbed.
Do you have any idea why it doesn't work?
The text was updated successfully, but these errors were encountered:
Hi,
Thanks a lot for your lib. Using the kcFakeLogin , we have speeded up our test execution.
When I run the tests against a local running application (
ng serve
). It works like a charm. (See stubbing of the/token
request)But if I run the tests against the production runtime (build with ng build --prod), the token request is not stubbed.
I though it was related to the fact that Cypress cannot stub
fetch
request. See this issue.The Cypress team recently added an experimental feature to allow
fetch
request stubbing. (see doc here) but it doesn't seem to change anything. Myfetch
request is still not stubbed.Do you have any idea why it doesn't work?
The text was updated successfully, but these errors were encountered: