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:
parent
dfdba46d57
commit
b03aa2ebf5
7 changed files with 150 additions and 58 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue