diff --git a/features/steps/index.ts b/features/steps/index.ts index a5b2748..b8cc9a2 100644 --- a/features/steps/index.ts +++ b/features/steps/index.ts @@ -11,4 +11,6 @@ When("I click link {string}", async ({ page }, name: string) => { Then("I see in title {string}", async ({ page }, text: string) => { await expect(page).toHaveTitle(new RegExp(text)); + + throw new Error("Fail here"); });