This commit is contained in:
谢宇宁
2026-10-23 15:07:10 +07:00
parent 0d924839f3
commit f96f722186
10 changed files with 878 additions and 201 deletions
+3 -4
View File
@@ -415,10 +415,9 @@ try {
name + " action must be removed",
);
assert.equal(await page.locator(".hk-playback-comments, .hk-playback-composer").count(), 0);
assert.deepEqual(
await page.locator(".hk-playback-dual > *").evaluateAll((nodes) => nodes.map((node) => node.className)),
["hk-playback-like", "hk-playback-hot"],
);
// Recommendations stay in the main column; the trending list sits in the right sidebar.
assert.equal(await page.locator(".hk-playback-body__main > .hk-playback-like").count(), 1);
assert.equal(await page.locator(".hk-playback-body__aside > .hk-playback-hot").count(), 1);
assert.match(
(await page.locator(".hk-playback-like").textContent()) || "",
/猜你喜欢测试/,