2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

DEV: Use classes for styling user and group cards (#8913)

Styling based on element-ids, it is impossible for themes/plugins to display multiple cards on a single page. Using classes is a more flexible approach. The element-ids are maintained for backwards compatibility with existing plugins/themes.
This commit is contained in:
David Taylor 2020-02-13 09:58:17 +00:00 committed by GitHub
parent 3875785dcc
commit 8d50f092b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 30 additions and 29 deletions

View file

@ -162,7 +162,7 @@ const path = require("path");
});
await exec("user has details", () => {
return page.waitForSelector("#user-card .names", { visible: true });
return page.waitForSelector(".user-card .names", { visible: true });
});
if (!process.env.READONLY_TESTS) {