try to make e2e test less flaky
This commit is contained in:
@@ -77,9 +77,7 @@ test("ingredients are grouped under their categories", async ({ page }) => {
|
||||
await createMeal(page, "Spaghetti Bolognese", "");
|
||||
|
||||
// Add an ingredient in the default "Produce" category.
|
||||
await page.fill("#ingredient-name", "Tomato");
|
||||
await page.selectOption("#ingredient-category", { label: "Produce" });
|
||||
await page.click("#add-ingredient-button");
|
||||
await addIngredient(page, "Tomato", "", "Produce");
|
||||
|
||||
// Add one without a category.
|
||||
await addIngredient(page, "Penne");
|
||||
|
||||
Reference in New Issue
Block a user