1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

[CL-890] fix flakey tests (#17160)

* remove animations to try and fix flakey tests

* allow some diff in tootltip story

* dedicated collapsed nav story

* remove viewports and add delay

* add back animations

* add input to disable responsive behavior

* remove responsive input. open nav on lg viewports

* create story to capture collapsed nav

* remove unused import

* more explicit user preference logic
This commit is contained in:
Bryan Cunningham
2025-11-04 15:35:23 -05:00
committed by GitHub
parent e6c2786dcc
commit 203267f53c
7 changed files with 65 additions and 14 deletions

View File

@@ -48,6 +48,10 @@ export default {
type: "figma",
url: "https://www.figma.com/design/Zt3YSeb6E6lebAffrNLa0h/Tailwind-Component-Library?m=auto&node-id=30558-13730&t=4k23PtzCwqDekAZW-1",
},
chromatic: {
// Allows 30% difference for the tooltip stories since they are rendered in a portal and may be affected by the environment.
diffThreshold: 0.3,
},
},
argTypes: {
bitTooltip: {