remove create test review card reference

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2022-11-19 10:21:43 -08:00
parent 2e95147336
commit 20afab9b1f

View File

@ -67,12 +67,6 @@ describe("test App end to end", async () => {
}); });
it("check details page", async () => { it("check details page", async () => {
// click review card
let review_card = await page.$("review-card");
console.log(JSON.stringify(review_card));
await review_card.click();
await page.waitForNavigation();
// Get the review image and check src and alt // Get the review image and check src and alt
let img = await page.$("#d-mealImg"); let img = await page.$("#d-mealImg");
let imgSrc = await img.getProperty("src"); let imgSrc = await img.getProperty("src");