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
I've started to look into Kassette to provide mocks for our E2E tests using Playwright.
I managed to make it work quite easily and it fits perfectly our needs, thank you for that :)
I've noticed some issues when running in local on Webkit browser only (on windows, node18), working as expected of Chromium and Firefox.
I see the following error when it tries to intercept an https request
Socket error
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
and then the proxy fails to respond to the call
I am not sure if the issue is caused by Kassette directly, however I don't see the error when not using a proxy-server
I've created a repository to reproduce this issue with a basic web page https://github.com/fpaul-1A/kassette-playground
Thank you for reporting this issue and sorry for the delay to answer.
This looks like an issue in Playwright.
With the latest version of Playwright (1.32.3), the issue does not seem to happen anymore on Windows (there may be some ECONNRESET error in the console, but the browser apparently retries the connection and the test passes).
The problem still happens on MacOS.
I forked your repository and fixed the other issues you were mentioning. Here are the results of tests in GitHub CI (click on the icons to see the corresponding logs):
Hello,
I've started to look into Kassette to provide mocks for our E2E tests using Playwright.
I managed to make it work quite easily and it fits perfectly our needs, thank you for that :)
I've noticed some issues when running in local on Webkit browser only (on windows, node18), working as expected of Chromium and Firefox.
I see the following error when it tries to intercept an https request
and then the proxy fails to respond to the call
I am not sure if the issue is caused by Kassette directly, however I don't see the error when not using a proxy-server
I've created a repository to reproduce this issue with a basic web page https://github.com/fpaul-1A/kassette-playground
Also, the error doesn't seem to happen on the CI with Ubuntu (I have other issues on Windows and Mac-OS though)
https://github.com/fpaul-1A/kassette-playground/actions/runs/4325102305
Thank you for your help
The text was updated successfully, but these errors were encountered: