Avoid flakiness from hover styling in screenshot tests (#12615)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-06-13 17:04:38 +01:00 committed by GitHub
parent 2547777de7
commit 347229be60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -342,6 +342,10 @@ export const expect = baseExpect.extend({
.mx_ReplyChain { .mx_ReplyChain {
border-left-color: var(--cpd-color-blue-1200) !important; border-left-color: var(--cpd-color-blue-1200) !important;
} }
/* Avoid flakiness from hover styling */
.mx_ReplyChain_show {
color: var(--cpd-color-text-secondary) !important;
}
/* Use monospace font for timestamp for consistent mask width */ /* Use monospace font for timestamp for consistent mask width */
.mx_MessageTimestamp { .mx_MessageTimestamp {
font-family: Inconsolata !important; font-family: Inconsolata !important;