Title: Improve NextJS integration tests · Issue #6053 · getsentry/sentry-javascript · GitHub
Open Graph Title: Improve NextJS integration tests · Issue #6053 · getsentry/sentry-javascript
X Title: Improve NextJS integration tests · Issue #6053 · getsentry/sentry-javascript
Description: Problem Statement NextJS integration tests are definitely our most flaky set of tests, and they are also much harder to debug since they don't use jest under the hood. https://sentry.io/organizations/sentry/dashboard/24245/?project=58994...
Open Graph Description: Problem Statement NextJS integration tests are definitely our most flaky set of tests, and they are also much harder to debug since they don't use jest under the hood. https://sentry.io/organizatio...
X Description: Problem Statement NextJS integration tests are definitely our most flaky set of tests, and they are also much harder to debug since they don't use jest under the hood. https://sentry.io/organiz...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/6053
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve NextJS integration tests","articleBody":"### Problem Statement\r\n\r\nNextJS integration tests are definitely our most flaky set of tests, and they are also much harder to debug since they don't use jest under the hood.\r\n\r\nhttps://sentry.io/organizations/sentry/dashboard/24245/?project=5899451&statsPeriod=3d\r\n\r\n\u003cimg width=\"627\" alt=\"image\" src=\"https://user-images.githubusercontent.com/18689448/198138338-743ddc57-74e1-43f4-b6a8-39aac4474d0b.png\">\r\n\r\n\u003cimg width=\"1140\" alt=\"image\" src=\"https://user-images.githubusercontent.com/18689448/198138395-6a1a1b18-2990-411a-8526-606a546e34e9.png\">\r\n\r\nWe should update these tests!\r\n\r\n### Solution Brainstorm\r\n\r\nThese probably involves a couple of changes:\r\n\r\n- [x] Instead of using puppeteer, use playwright like our browser and remix integration tests. This is as puppeteer causes [some problems](https://github.com/puppeteer/puppeteer/issues/7740) for fresh installations, which was ran into by @drguthals [here](https://github.com/getsentry/sentry-javascript/discussions/6052). -> #6718 \r\n- [x] Use jest for the node integration tests, like our remix integration tests do. This should make things much more consistent -> #6909 \r\n- [ ] Figure out how to make session tests less flaky\r\n- [ ] Rewrite main test script in TS rather than bash\r\n- [ ] Run most recent node version integration test on Windows","author":{"url":"https://github.com/AbhiPrasad","@type":"Person","name":"AbhiPrasad"},"datePublished":"2022-10-26T21:08:18Z","url":"https://github.com/getsentry/sentry-javascript/issues/6053"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:07b90dc8-8be7-0ef9-aadf-00bcf24a8b12 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6C4:1FAF:1807600:2030F64:6B043142 |
| html-safe-nonce | db5bda5756d91a07ce66128381489023eb05e3e7bf6c0a46e6bce87e6a6b8fa1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkM0OjFGQUY6MTgwNzYwMDoyMDMwRjY0OjZCMDQzMTQyIiwidmlzaXRvcl9pZCI6IjIzOTgxMTg3NjQxNjEwMjAyMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fc81c9e3c1ca13687898f930a0ae06683839586c351b31ab0b1d7be2ff3c15aa |
| hovercard-subject-tag | issue:1424696441 |
| 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/getsentry/sentry-javascript/6053/issue_layout |
| twitter:image | https://opengraph.githubassets.com/41f74bff19e3c61fe12504ccda37cbf7f15bd46b63d340f0d45944678a4e845c/getsentry/sentry-javascript/issues/6053 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41f74bff19e3c61fe12504ccda37cbf7f15bd46b63d340f0d45944678a4e845c/getsentry/sentry-javascript/issues/6053 |
| og:image:alt | Problem Statement NextJS integration tests are definitely our most flaky set of tests, and they are also much harder to debug since they don't use jest under the hood. https://sentry.io/organizatio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width