fix: drop files on markdown row into same folder
This commit is contained in:
@@ -727,6 +727,7 @@ async function run() {
|
||||
await confirmPreflight(page);
|
||||
await page.waitForTimeout(800);
|
||||
assert(fs.existsSync(path.join(root, "docs", "drop-on-md.txt")), "drop 到 md 文件时应写入该 md 的父目录");
|
||||
assert(!fs.existsSync(path.join(root, "drop-on-md.txt")), "drop 到 Markdown 行时不应回退写入 root");
|
||||
const readonlyDropRequestCount = requests.length;
|
||||
await dispatchExternalFileDrop(page, readonlyRow, "readonly-drop.txt", "readonly");
|
||||
await waitForPreflight(page, "操作预检失败");
|
||||
|
||||
Reference in New Issue
Block a user