You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-09 08:42:50 +03:00
Move room directory Puppeteer tests over to Cypress (#8832)
* Fix user view percy test by sticking the user avatar colour * Move room directory Puppeteer tests over to Cypress * Consolidate import * Fix tests * Grab default widths * Tweak Percy CSS mechanism
This commit is contained in:
committed by
GitHub
parent
dfdba46d57
commit
b03aa2ebf5
@@ -52,3 +52,12 @@ limitations under the License.
|
||||
vertical-align: top;
|
||||
background-color: $background;
|
||||
}
|
||||
|
||||
// Percy screenshot test specific CSS
|
||||
@media only percy {
|
||||
.mx_BaseAvatar_initial,
|
||||
.mx_BaseAvatar_initial + .mx_BaseAvatar_image {
|
||||
// Stick the default room avatar colour, so it doesn't cause a false diff on the screenshot
|
||||
background-color: $username-variant2-color !important;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user