fix(webui): check explicit file links before enabling previews (#6483)
This commit is contained in:
1 parent
d1451e30e9
commit
69d2fd87b0
4 files changed
+37
-21
No files matched your search
@@ -157,6 +157,7 @@ for (const narrow of [false, true]) {
|
||||
await expect(sentPrefix).toHaveCSS("font-weight", "400");
|
||||
const sentCommand = page.locator("[data-user-text-bubble]").last().locator("p");
|
||||
expect(await sentCommand.textContent()).toBe(shellCommand.trim());
|
||||
await sentCommand.click();
|
||||
await sentCommand.evaluate(node => {
|
||||
const range = document.createRange();
|
||||
range.selectNodeContents(node);
|
||||
|
||||
Reference in new issue
Block a user