mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-12-27 09:29:10 +00:00
remove create test review card reference
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
2e95147336
commit
20afab9b1f
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user