playwright icon indicating copy to clipboard operation
playwright copied to clipboard

Mark mocked network requests in UI mode

Open andrei-picus-tink opened this issue 2 years ago • 0 comments

Cypress makes it clear in their UI if a network request is mocked:

image

Moreover, it shows all the mocks in a special section:

image

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.

image

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.

andrei-picus-tink avatar May 16 '23 08:05 andrei-picus-tink