Open i-love-code opened 9 months ago
It would appear that the browserstack-node-sdk
that is wrapping the npx playwright test
command does not correctly infer the outcome of the test, and marks all tests as having failed.
I have active BrowserStack support issues open for this, but I have not seen a helpful response/resolution. Trying all available paths for support.
Hi @i-love-code , could you please let us know the support ticket ID that you have created on BrowserStack?
The
sdk
branch appears to useframework: playwright
, and this is GitHub repository is linked to in the setup documentation for Playwright and BrowserStack.In the
sdk
branch, when you setretries: 3
in the playwright configuration file for re-running test failures and then runnpm run sample-test
command, (with your own user/access key) it marks the tests in BrowserStack as passed, but throws these errors in the console and the SDK marks the tests as failed, leading to it retrying over and over.But in BrowserStack, it shows as passed sessions: