UX: show full name on /latest page
This commit is contained in:
@@ -7,6 +7,12 @@ QUnit.test("Visit Discovery Pages", async assert => {
|
||||
assert.ok(exists(".topic-list"), "The list of topics was rendered");
|
||||
assert.ok(exists(".topic-list .topic-list-item"), "has topics");
|
||||
|
||||
assert.equal(
|
||||
find("a[data-user-card=eviltrout]:first img.avatar").attr("title"),
|
||||
"Evil Trout - Most Posts",
|
||||
"it shows user's full name in avatar title"
|
||||
);
|
||||
|
||||
await visit("/c/bug");
|
||||
assert.ok(exists(".topic-list"), "The list of topics was rendered");
|
||||
assert.ok(exists(".topic-list .topic-list-item"), "has topics");
|
||||
|
||||
@@ -11,7 +11,12 @@ export default {
|
||||
username: "stellarhopper",
|
||||
avatar_template: "/images/avatar.png"
|
||||
},
|
||||
{ id: 19, username: "eviltrout", avatar_template: "/images/avatar.png" },
|
||||
{
|
||||
id: 19,
|
||||
username: "eviltrout",
|
||||
name: "Evil Trout",
|
||||
avatar_template: "/images/avatar.png"
|
||||
},
|
||||
{ id: 14, username: "clay", avatar_template: "/images/avatar.png" },
|
||||
{
|
||||
id: 32,
|
||||
|
||||
Reference in New Issue
Block a user