playwright
playwright copied to clipboard
Mark mocked network requests in UI mode
Cypress makes it clear in their UI if a network request is mocked:
Moreover, it shows all the mocks in a special section:
Read more at https://docs.cypress.io/guides/guides/network-requests.
Playwright on the other hand doesn't give any hints about the mocked requests, which makes it hard for us to spot if we missed mocking an important call.
If it's not possible to mark whether a network call was mocked, it would be great if at least the UI could show a list of all the mocks that are set up, similar to the second Cypress screenshot above.