Skip to content

Commit accd20c

Browse files
committed
Fix failing firefox E2E test
1 parent cc7ab3b commit accd20c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

integration/form-test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,7 @@ test.describe("Forms", () => {
10831083
await app.uploadFile(`[name=filey]`, myFile);
10841084
await app.uploadFile(`[name=filey2]`, myFile, myFile);
10851085
await app.clickElement("button");
1086+
await page.waitForSelector("#formData");
10861087

10871088
expect((await app.getElement("#formData")).val()).toBe(
10881089
"filey=myfile.txt&filey2=myfile.txt&filey2=myfile.txt&filey3="
@@ -1092,6 +1093,7 @@ test.describe("Forms", () => {
10921093
await app.uploadFile(`[name=filey]`, myFile);
10931094
await app.uploadFile(`[name=filey2]`, myFile, myFile);
10941095
await app.clickElement("button");
1096+
await page.waitForSelector("#formData");
10951097

10961098
expect((await app.getElement("#formData")).val()).toBe(
10971099
"filey=myfile.txt&filey2=myfile.txt&filey2=myfile.txt&filey3="

0 commit comments

Comments
 (0)