Skip to content

Commit e3ee410

Browse files
committed
test mutli file submit
1 parent 1a1a32d commit e3ee410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/component/editionCreate.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ test.describe("Create edition page", () => {
3737
await page.getByTestId("alerts-textarea-0").fill("Something about a correction");
3838
await page.getByTestId("alerts-add-button").click();
3939
await page.getByTestId("alerts-textarea-1").fill("Something about an alert");
40-
await page.getByTestId("dataset-upload-value").evaluate(element => { element.value = JSON.stringify([{download_url: "test/file.csv"}]); });
40+
await page.getByTestId("dataset-upload-value").evaluate(element => { element.value = JSON.stringify([{download_url: "test/file.csv"}, {download_url: "foo/bar.csv"}]); });
4141

4242
await page.getByRole("button", { name: /Create edition/i }).click();
4343

0 commit comments

Comments
 (0)