@@ -640,7 +640,7 @@ test('should not propagate errors from within toPass', async ({ runInlineTest })
640640 expect ( result . exitCode ) . toBe ( 0 ) ;
641641 expect ( result . output ) . toBe ( `
642642hook |Before Hooks
643- test.step |Expect "toPass" @ a.test.ts:7
643+ expect |Expect "toPass" @ a.test.ts:7
644644expect | Expect "toBe" @ a.test.ts:6
645645expect | ↪ error: Error: expect(received).toBe(expected) // Object.is equality
646646expect | Expect "toBe" @ a.test.ts:6
@@ -667,8 +667,8 @@ test('should show final toPass error', async ({ runInlineTest }) => {
667667 expect ( result . exitCode ) . toBe ( 1 ) ;
668668 expect ( stripAnsi ( result . output ) ) . toBe ( `
669669hook |Before Hooks
670- test.step |Expect "toPass" @ a.test.ts:6
671- test.step |↪ error: Error: expect(received).toBe(expected) // Object.is equality
670+ expect |Expect "toPass" @ a.test.ts:6
671+ expect |↪ error: Error: expect(received).toBe(expected) // Object.is equality
672672expect | Expect "toBe" @ a.test.ts:5
673673expect | ↪ error: Error: expect(received).toBe(expected) // Object.is equality
674674hook |After Hooks
@@ -934,7 +934,7 @@ test('step inside toPass', async ({ runInlineTest }) => {
934934 expect ( stripAnsi ( result . output ) ) . toBe ( `
935935hook |Before Hooks
936936test.step |step 1 @ a.test.ts:4
937- test.step | Expect "toPass" @ a.test.ts:11
937+ expect | Expect "toPass" @ a.test.ts:11
938938test.step | step 2, attempt: 0 @ a.test.ts:7
939939test.step | ↪ error: Error: expect(received).toBe(expected) // Object.is equality
940940expect | Expect "toBe" @ a.test.ts:9
@@ -981,7 +981,7 @@ fixture | Fixture "context"
981981pw:api | Create context
982982fixture | Fixture "page"
983983pw:api | Create page
984- test.step |Expect "toPass" @ a.test.ts:11
984+ expect |Expect "toPass" @ a.test.ts:11
985985pw:api | Navigate to "about:blank" @ a.test.ts:6
986986test.step | inner step attempt: 0 @ a.test.ts:7
987987test.step | ↪ error: Error: expect(received).toBe(expected) // Object.is equality
@@ -1033,7 +1033,7 @@ fixture | Fixture "context"
10331033pw:api | Create context
10341034fixture | Fixture "page"
10351035pw:api | Create page
1036- test.step |Expect "poll toHaveLength" @ a.test.ts:14
1036+ expect |Expect "poll toHaveLength" @ a.test.ts:14
10371037pw:api | Navigate to "about:blank" @ a.test.ts:7
10381038test.step | inner step attempt: 0 @ a.test.ts:8
10391039expect | Expect "toBe" @ a.test.ts:10
@@ -1086,7 +1086,7 @@ pw:api | Create context
10861086fixture | Fixture "page"
10871087pw:api | Create page
10881088pw:api |Set content @ a.test.ts:4
1089- test.step |Expect "poll toBe" @ a.test.ts:13
1089+ expect |Expect "poll toBe" @ a.test.ts:13
10901090expect | Expect "toHaveText" @ a.test.ts:7
10911091test.step | iteration 1 @ a.test.ts:9
10921092expect | Expect "toBeVisible" @ a.test.ts:10
@@ -1746,7 +1746,7 @@ fixture | Fixture "page"
17461746pw:api | Create page
17471747pw:api |Set content @ a.test.ts:16
17481748expect |Expect "toBeInvisible" @ a.test.ts:17
1749- test.step | Expect "poll toBe" @ a.test.ts:7
1749+ expect | Expect "poll toBe" @ a.test.ts:7
17501750pw:api | Query count locator('div').filter({ visible: true }) @ a.test.ts:7
17511751expect | Expect "toBe" @ a.test.ts:7
17521752expect | ↪ error: Error: expect(received).toBe(expected) // Object.is equality
0 commit comments