sentry icon indicating copy to clipboard operation
sentry copied to clipboard

ref: use msw for network mocking in tests

Open TkDodo opened this issue 2 months ago • 2 comments

TkDodo avatar Nov 07 '25 16:11 TkDodo

:x: 1 Tests Failed:

Tests completed Failed Passed Skipped
12411 1 12410 10
View the top 1 failed test(s) by shortest run time
StackTracePreview renders error message
Stack Traces | 1.15s run time
Error: Unable to find an element with the text: /Failed to load stack trace/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

Ignored nodes: comments, script, style
...
    at waitForWrapper (.../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/wait-for.js:163:27)
    at .../sentry/node_modules/.pnpm/@[email protected]/node_modules/@.../dom/dist/query-helpers.js:86:33
    at Object.findByText (.../components/groupPreviewTooltip/stackTracePreview.spec.tsx:28:25)

To view more test analytics, go to the Test Analytics Dashboard 📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

codecov[bot] avatar Nov 07 '25 16:11 codecov[bot]

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Dec 07 '25 08:12 getsantry[bot]