From 4832726b14fbca008bb794452ea11048d57b84a2 Mon Sep 17 00:00:00 2001 From: Sanjit Joseph <78522615+sm-joseph@users.noreply.github.com> Date: Wed, 23 Nov 2022 17:22:23 -0800 Subject: [PATCH] Update E2E tests to check for new default image --- source/assets/scripts/main.e2e.test.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/assets/scripts/main.e2e.test.js b/source/assets/scripts/main.e2e.test.js index 4181d2f..2d9ba59 100644 --- a/source/assets/scripts/main.e2e.test.js +++ b/source/assets/scripts/main.e2e.test.js @@ -65,7 +65,7 @@ describe("test App end to end", async () => { it("check details page", async () => { // check the details page for correctness let expected = { - imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png", + imgSrc: "http://localhost:8080/assets/images/default_plate.png", mealName: "sample name", comments: "sample comment", restaurant: "sample restaurant", @@ -86,7 +86,7 @@ describe("test App end to end", async () => { let shadowRoot = await review_card.getProperty("shadowRoot"); let expected = { - imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png", + imgSrc: "http://localhost:8080/assets/images/default_plate.png", mealName: "sample name", comments: "sample comment", restaurant: "sample restaurant", @@ -111,7 +111,7 @@ describe("test App end to end", async () => { // check the details page for correctness let expected = { - imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png", + imgSrc: "http://localhost:8080/assets/images/default_plate.png", mealName: "sample name", comments: "sample comment", restaurant: "sample restaurant", @@ -133,7 +133,7 @@ describe("test App end to end", async () => { // check the details page for correctness let expected = { - imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png", + imgSrc: "http://localhost:8080/assets/images/default_plate.png", mealName: "sample name", comments: "sample comment", restaurant: "sample restaurant", @@ -176,7 +176,7 @@ describe("test App end to end", async () => { it("check details page", async () => { // check the details page for correctness let expected = { - imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png", + imgSrc: "http://localhost:8080/assets/images/default_plate.png", mealName: "updated name", comments: "updated comment", restaurant: "updated restaurant", @@ -198,7 +198,7 @@ describe("test App end to end", async () => { // check the details page for correctness let expected = { - imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png", + imgSrc: "http://localhost:8080/assets/images/default_plate.png", mealName: "updated name", comments: "updated comment", restaurant: "updated restaurant",