Skip to content

Commit

Permalink
Potentially fixed some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucaspains committed Dec 27, 2024
1 parent 3a09117 commit e1d7432
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/category-recipes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ test('title is Category 1', async ({ page }) => {
test('open recipe', async ({ page }) => {
await createRecipe(page, 2, "recipe", 1, ["1 cup flour"], ["Preheat oven to 350 F"], false, "Category 1");
await goToCategory(page, "Category 1");
await page.waitForTimeout(200);
await page.getByTestId('recipe-title').first().click();
await page.waitForTimeout(200);
await expect(page).toHaveURL(/.*\/recipe\/2/);
Expand Down

0 comments on commit e1d7432

Please sign in to comment.