jbrowse-components
jbrowse-components copied to clipboard
MuiTouchRipple flakiness in snapshot tests
Seen in https://github.com/GMOD/jbrowse-components/actions/runs/9164294478/job/25195285026
6m 12s
products/jbrowse-web/src/components/img | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
products/jbrowse-web/src/rootModel | 38.97 | 30.61 | 42.3 | 39.53 |
index.ts | 0 | 0 | 0 | 0 |
rootModel.ts | 33.6 | 27.65 | 38.77 | 35 | 149-155,175-177,186-190,197-203,217,257-258,285-360,373-426,436,445,468-543
test_util.ts | 100 | 100 | 100 | 100 |
products/jbrowse-web/src/sessionModel | 50 | 100 | 50 | 50 |
AboutDialog.tsx | 0 | 0 | 0 | 0 |
index.ts | 50 | 100 | 50 | 50 | 28
products/jbrowse-web/src/tests | 98.83 | 94.11 | 93.1 | 98.71 |
TestPlugin.ts | 100 | 100 | 100 | 100 |
loaderUtil.tsx | 100 | 100 | 66.66 | 100 |
util.tsx | 98.73 | 94.11 | 96 | 98.61 | 65
products/jbrowse-web/src/tests/HTTPBasicAuthServer | 0 | 100 | 100 | 0 |
app.ts | 0 | 100 | 100 | 0 | 4-5
index.ts | 0 | 100 | 100 | 0 | 6-11
products/jbrowse-web/src/tests/OAuthServer | 0 | 100 | 100 | 0 |
app.ts | 0 | 100 | 100 | 0 | 4-5
index.ts | 0 | 100 | 100 | 0 | 10-30
products/jbrowse-web/src/tests/OAuthServer/oauth | 0 | 0 | 0 | 0 |
model.ts | 0 | 0 | 0 | 0 | 19-101
server.ts | 0 | 0 | 0 | 0 |
products/jbrowse-web/src/tests/OAuthServer/routes | 0 | 0 | 0 | 0 |
auth.ts | 0 | 0 | 0 | 0 | 6-44
--------------------------------------------------------------------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Summary of all failing tests
FAIL packages/core/BaseFeatureWidget/index.test.tsx
● open up a widget
expect(received).toMatchSnapshot()
Snapshot name: `open up a widget 1`
- Snapshot - 6
+ Received + 0
@@ -120,13 +120,10 @@
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-sghohy-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Show feature sequence
- <span
- class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
- />
</button>
</div>
<button
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
tabindex="0"
@@ -141,13 +138,10 @@
>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"
/>
</svg>
- <span
- class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
- />
</button>
</div>
</div>
</div>
</div>
36 | })
37 | expect(await findByText('ctgA:3..102 (+)')).toBeTruthy()
> 38 | expect(container).toMatchSnapshot()
| ^
39 | })