Today frontend specs are designed to only verify that some javascript events is happening. This is done by "mocking" API responses to verify that some requests are done.
One huge drawback with this is that if API endpoints are removed frontend specs will still work.
I think it can be worth to run all frontend specs against the real API instead.
Today frontend specs are designed to only verify that some javascript events is happening. This is done by "mocking" API responses to verify that some requests are done.
One huge drawback with this is that if API endpoints are removed frontend specs will still work.
I think it can be worth to run all frontend specs against the real API instead.