From 1c1ac64c58a8bf19e1086aa8c1f73371c203fd8c Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sat, 19 Nov 2022 12:34:29 -0800 Subject: [PATCH] change e2e tests to use default images Signed-off-by: Arthur Lu --- source/assets/scripts/main.e2e.test.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/assets/scripts/main.e2e.test.js b/source/assets/scripts/main.e2e.test.js index e9c93b8..d9c7c20 100644 --- a/source/assets/scripts/main.e2e.test.js +++ b/source/assets/scripts/main.e2e.test.js @@ -43,7 +43,6 @@ describe("test App end to end", async () => { await page.waitForNavigation(); // Set text fields - await page.$eval("#mealImg", el => el.value = ""); await page.$eval("#imgAlt", el => el.value = "sample alt"); await page.$eval("#mealName", el => el.value = "sample name"); await page.$eval("#comments", el => el.value = "sample comment"); @@ -249,7 +248,6 @@ describe("test App end to end", async () => { await update_btn.click(); // Set text fields - await page.$eval("#mealImg", el => el.value = ""); await page.$eval("#imgAlt", el => el.value = "updated alt"); await page.$eval("#mealName", el => el.value = "updated name"); await page.$eval("#comments", el => el.value = "updated comment");