Title: Is playwright supported? Tests fail but show as passed · Issue #16 · browserstack/node-js-playwright-browserstack · GitHub
Open Graph Title: Is playwright supported? Tests fail but show as passed · Issue #16 · browserstack/node-js-playwright-browserstack
X Title: Is playwright supported? Tests fail but show as passed · Issue #16 · browserstack/node-js-playwright-browserstack
Description: The sdk branch appears to use framework: playwright, and this is GitHub repository is linked to in the setup documentation for Playwright and BrowserStack. In the sdk branch, when you set retries: 3 in the playwright configuration file f...
Open Graph Description: The sdk branch appears to use framework: playwright, and this is GitHub repository is linked to in the setup documentation for Playwright and BrowserStack. In the sdk branch, when you set retries: ...
X Description: The sdk branch appears to use framework: playwright, and this is GitHub repository is linked to in the setup documentation for Playwright and BrowserStack. In the sdk branch, when you set retries: ...
Opengraph URL: https://github.com/browserstack/node-js-playwright-browserstack/issues/16
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Is playwright supported? Tests fail but show as passed","articleBody":"The `sdk` branch appears to use `framework: playwright`, and this is GitHub repository is linked to in the setup documentation for Playwright and BrowserStack.\r\n\r\nIn the `sdk` branch, when you set `retries: 3` in the playwright configuration file for re-running test failures and then run `npm 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.\r\n\r\n```\r\nRunning 4 tests using 2 workers\r\n\r\n1) [playwright-firefox@latest:Windows 11@browserstack] › tests\\bstack_test_add_to_cart.js:3:1 › BStackDemo test add to cart\r\n\r\n Error: : expected object, got undefined\r\n\r\n Retry #1 ───────────────────────────────────────────────────────────────────────────────────────\r\n Error: : expected object, got undefined\r\n\r\n Retry #2 ───────────────────────────────────────────────────────────────────────────────────────\r\n Error: : expected object, got undefined\r\n\r\n Retry #3 ───────────────────────────────────────────────────────────────────────────────────────\r\n Error: : expected object, got undefined\r\n```\r\n\r\nBut in BrowserStack, it shows as passed sessions:\r\n\r\n\r\n","author":{"url":"https://github.com/i-love-code","@type":"Person","name":"i-love-code"},"datePublished":"2023-12-13T19:27:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/16/node-js-playwright-browserstack/issues/16"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:871cf040-5c48-18da-9d25-e0cc1a87527f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1FE:1F9EE9:73F6C6:9BE25F:6A5417B7 |
| html-safe-nonce | 7e7b16f28d5b780dd942d3948dd1bee863e7c4136da01fd3021f00b368df9a20 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUZFOjFGOUVFOTo3M0Y2QzY6OUJFMjVGOjZBNTQxN0I3IiwidmlzaXRvcl9pZCI6IjYyOTQ0NTIzMzg0NzMzMTAxMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bba5764b733c3f6e539ea244fe346993619d6549cacd8b61350fc1ac16af8ca6 |
| hovercard-subject-tag | issue:2040335266 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/node-js-playwright-browserstack/16/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af90a69d8b0d1cf1be0f24fa6418aa40adbf0bd095cc1286ebee97582d93d3b7/browserstack/node-js-playwright-browserstack/issues/16 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af90a69d8b0d1cf1be0f24fa6418aa40adbf0bd095cc1286ebee97582d93d3b7/browserstack/node-js-playwright-browserstack/issues/16 |
| og:image:alt | The sdk branch appears to use framework: playwright, and this is GitHub repository is linked to in the setup documentation for Playwright and BrowserStack. In the sdk branch, when you set retries: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | i-love-code |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/browserstack/node-js-playwright-browserstack git https://github.com/browserstack/node-js-playwright-browserstack.git |
| octolytics-dimension-user_id | 1119453 |
| octolytics-dimension-user_login | browserstack |
| octolytics-dimension-repository_id | 575727740 |
| octolytics-dimension-repository_nwo | browserstack/node-js-playwright-browserstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 575727740 |
| octolytics-dimension-repository_network_root_nwo | browserstack/node-js-playwright-browserstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width