mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-11-10 05:34:44 +00:00
Update E2E tests to check for new default image
This commit is contained in:
parent
0b7e101bb2
commit
4832726b14
@ -65,7 +65,7 @@ describe("test App end to end", async () => {
|
|||||||
it("check details page", async () => {
|
it("check details page", async () => {
|
||||||
// check the details page for correctness
|
// check the details page for correctness
|
||||||
let expected = {
|
let expected = {
|
||||||
imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png",
|
imgSrc: "http://localhost:8080/assets/images/default_plate.png",
|
||||||
mealName: "sample name",
|
mealName: "sample name",
|
||||||
comments: "sample comment",
|
comments: "sample comment",
|
||||||
restaurant: "sample restaurant",
|
restaurant: "sample restaurant",
|
||||||
@ -86,7 +86,7 @@ describe("test App end to end", async () => {
|
|||||||
let shadowRoot = await review_card.getProperty("shadowRoot");
|
let shadowRoot = await review_card.getProperty("shadowRoot");
|
||||||
|
|
||||||
let expected = {
|
let expected = {
|
||||||
imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png",
|
imgSrc: "http://localhost:8080/assets/images/default_plate.png",
|
||||||
mealName: "sample name",
|
mealName: "sample name",
|
||||||
comments: "sample comment",
|
comments: "sample comment",
|
||||||
restaurant: "sample restaurant",
|
restaurant: "sample restaurant",
|
||||||
@ -111,7 +111,7 @@ describe("test App end to end", async () => {
|
|||||||
|
|
||||||
// check the details page for correctness
|
// check the details page for correctness
|
||||||
let expected = {
|
let expected = {
|
||||||
imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png",
|
imgSrc: "http://localhost:8080/assets/images/default_plate.png",
|
||||||
mealName: "sample name",
|
mealName: "sample name",
|
||||||
comments: "sample comment",
|
comments: "sample comment",
|
||||||
restaurant: "sample restaurant",
|
restaurant: "sample restaurant",
|
||||||
@ -133,7 +133,7 @@ describe("test App end to end", async () => {
|
|||||||
|
|
||||||
// check the details page for correctness
|
// check the details page for correctness
|
||||||
let expected = {
|
let expected = {
|
||||||
imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png",
|
imgSrc: "http://localhost:8080/assets/images/default_plate.png",
|
||||||
mealName: "sample name",
|
mealName: "sample name",
|
||||||
comments: "sample comment",
|
comments: "sample comment",
|
||||||
restaurant: "sample restaurant",
|
restaurant: "sample restaurant",
|
||||||
@ -176,7 +176,7 @@ describe("test App end to end", async () => {
|
|||||||
it("check details page", async () => {
|
it("check details page", async () => {
|
||||||
// check the details page for correctness
|
// check the details page for correctness
|
||||||
let expected = {
|
let expected = {
|
||||||
imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png",
|
imgSrc: "http://localhost:8080/assets/images/default_plate.png",
|
||||||
mealName: "updated name",
|
mealName: "updated name",
|
||||||
comments: "updated comment",
|
comments: "updated comment",
|
||||||
restaurant: "updated restaurant",
|
restaurant: "updated restaurant",
|
||||||
@ -198,7 +198,7 @@ describe("test App end to end", async () => {
|
|||||||
|
|
||||||
// check the details page for correctness
|
// check the details page for correctness
|
||||||
let expected = {
|
let expected = {
|
||||||
imgSrc: "http://localhost:8080/assets/images/plate_with_cutlery.png",
|
imgSrc: "http://localhost:8080/assets/images/default_plate.png",
|
||||||
mealName: "updated name",
|
mealName: "updated name",
|
||||||
comments: "updated comment",
|
comments: "updated comment",
|
||||||
restaurant: "updated restaurant",
|
restaurant: "updated restaurant",
|
||||||
|
Loading…
Reference in New Issue
Block a user