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:
parent
3875785dcc
commit
8d50f092b5
12 changed files with 30 additions and 29 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue