mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-21 07:23:11 +00:00
The keyboard-focus scenario rejected a transparent outline with `/,\s*0\)$/`, which also matches opaque black, `rgb(0, 0, 0)`: the default light theme's focus outline. It passed only because the card eases its colors, so the outline read straight after Tab was still on its way from the text color (`rgb(33, 33, 33)`) to black. On a slower runner the transition had finished and the test failed; with a 600 ms pause before the read it fails every time. The scenario now waits for the outline to settle on the theme's `focus-outline` color and checks transparency with a pattern that needs a four-part `rgba()`. The focus-ring scenario picked its opaque shadow layer with the same loose pattern and would have skipped a black ring; both use one helper now. |
||
|---|---|---|
| .. | ||
| deployed | ||
| mock | ||
| real | ||
| a11y.spec.ts | ||
| keys.spec.ts | ||
| landing.spec.ts | ||
| messages.spec.ts | ||
| nav.spec.ts | ||
| popup.spec.ts | ||