I am running Playwright tests on LambdaTest but my tests are getting canceled. How do I resolve this issue?

I am running Playwright tests on LambdaTest but my tests are getting canceled. How do I resolve this issue?

Hi Helen,

This issue is usually observed when the browser close command is not received from the script side. In these cases, Playwright assumes the connection is abruptly closed and marks the test as “canceled”. You can put a browser close command at the end of each test to resolve this.