Improve stability of Playwright screenshot tests (#11983)
This commit is contained in:
parent
74ea0d134e
commit
e180ca841b
23 changed files with 71 additions and 80 deletions
|
@ -14,15 +14,6 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
/* Screenshot test specific CSS */
|
||||
@media only percy {
|
||||
/* Stick the default room avatar colour, so it doesn't cause a false diff on the screenshot */
|
||||
.mx_BaseAvatar {
|
||||
background-color: var(--percy-color-avatar) !important;
|
||||
color: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
button.mx_BaseAvatar {
|
||||
/* <button> is a form element and by default it uses the user agent (browser) styling.
|
||||
We want it to inherit the font-family and line-height from its parent.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue