mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-11-10 05:34:44 +00:00
change e2e tests to use default images
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
8338156cb8
commit
1c1ac64c58
@ -43,7 +43,6 @@ describe("test App end to end", async () => {
|
|||||||
await page.waitForNavigation();
|
await page.waitForNavigation();
|
||||||
|
|
||||||
// Set text fields
|
// Set text fields
|
||||||
await page.$eval("#mealImg", el => el.value = "");
|
|
||||||
await page.$eval("#imgAlt", el => el.value = "sample alt");
|
await page.$eval("#imgAlt", el => el.value = "sample alt");
|
||||||
await page.$eval("#mealName", el => el.value = "sample name");
|
await page.$eval("#mealName", el => el.value = "sample name");
|
||||||
await page.$eval("#comments", el => el.value = "sample comment");
|
await page.$eval("#comments", el => el.value = "sample comment");
|
||||||
@ -249,7 +248,6 @@ describe("test App end to end", async () => {
|
|||||||
await update_btn.click();
|
await update_btn.click();
|
||||||
|
|
||||||
// Set text fields
|
// Set text fields
|
||||||
await page.$eval("#mealImg", el => el.value = "");
|
|
||||||
await page.$eval("#imgAlt", el => el.value = "updated alt");
|
await page.$eval("#imgAlt", el => el.value = "updated alt");
|
||||||
await page.$eval("#mealName", el => el.value = "updated name");
|
await page.$eval("#mealName", el => el.value = "updated name");
|
||||||
await page.$eval("#comments", el => el.value = "updated comment");
|
await page.$eval("#comments", el => el.value = "updated comment");
|
||||||
|
Loading…
Reference in New Issue
Block a user