Skip to content

Commit 8ab2f46

Browse files
committed
DEV: Update selector in test for upcoming core changes
1 parent ea19f34 commit 8ab2f46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/javascripts/acceptance/follow-posts-feed-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ acceptance("Discourse Follow - Follow Posts Feed", function (needs) {
158158

159159
test("posts are shown", async (assert) => {
160160
await visit("/u/eviltrout/follow/feed");
161-
const posts = queryAll(".user-stream .user-stream-item");
161+
const posts = queryAll(".user-follows-tab .user-stream-item");
162162
assert.equal(
163163
posts.length,
164164
3,
@@ -173,7 +173,7 @@ acceptance("Discourse Follow - Follow Posts Feed", function (needs) {
173173

174174
test("long posts excerpt", async (assert) => {
175175
await visit("/u/eviltrout/follow/feed");
176-
const posts = queryAll(".user-stream .user-stream-item");
176+
const posts = queryAll(".user-follows-tab .user-stream-item");
177177
assert.ok(
178178
exists(posts[2].querySelector(".expand-item")),
179179
"long posts are first rendered collapsed"

0 commit comments

Comments
 (0)