UI调整
This commit is contained in:
@@ -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()) || "",
|
||||
/猜你喜欢测试/,
|
||||
|
||||
Reference in New Issue
Block a user