Skip to content

Commit

Permalink
test: fix hooks timeout for older pw
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Dec 9, 2024
1 parent 904f8c5 commit 454d675
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ test('timeout in fixture setup', async ({ scenario }) => {

test('timeout in before hook', async ({ scenario }) => {
await expect(scenario.getSteps()).toContainText([
`Hook "BeforeEach hook" failed: ${normalize('features/error-in-before/steps.ts')}:`, // prettier-ignore
/Hook "(BeforeEach hook|fixture: \$beforeEach)" failed:/, // prettier-ignore
'GivenAction 1',
]);
await expect(scenario.getErrors()).toContainText([
Expand Down

0 comments on commit 454d675

Please sign in to comment.