mirror of
https://github.com/codex-storage/codex-marketplace-ui.git
synced 2025-02-22 12:48:32 +00:00
Remove download over network test in CI
This commit is contained in:
parent
9ec80c3dc8
commit
30ccf393d6
@ -32,22 +32,3 @@ test("download a file", async ({ page, browserName }) => {
|
||||
const download = await downloadPromise;
|
||||
expect(await download.failure()).toBeNull();
|
||||
});
|
||||
|
||||
test("download a file over the network", async ({ page, browserName }) => {
|
||||
// https://github.com/microsoft/playwright/issues/13037
|
||||
test.skip(
|
||||
browserName.toLowerCase() !== "chromium",
|
||||
`Test only for chromium!`
|
||||
);
|
||||
|
||||
await page.goto("/dashboard");
|
||||
|
||||
const cid = "zDvZRwzm6eV1thx6zkL5Es3FZKEq8qjinti9Y6QD1qZRKiAGjCZ7";
|
||||
await page.locator(".download-input input").fill(cid);
|
||||
|
||||
const downloadPromise = page.waitForEvent("download");
|
||||
await page.locator(".download-input + button").click();
|
||||
|
||||
const download = await downloadPromise;
|
||||
expect(await download.failure()).toBeNull();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user