playwright/packages
Dmitry Gozman 776b04e5ea
feat: APIRequestContext dispose reason (#30765)
Similarly to page.close, we pass test-runner specific reason to
facilitate better error messages.

```
  1) a.test.ts:10:11 › test

    Error: apiRequestContext.fetch: Fixture { request } from beforeAll cannot be reused in a test.
      - Recommended fix: use a separate { request } in the test.
      - Alternatively, manually create APIRequestContext in beforeAll and dispose it in afterAll.
    See https://playwright.dev/docs/api-testing#sending-api-requests-from-ui-tests for more details.

       9 |
      10 |       test('test', async () => {
    > 11 |         await context.fetch('http://example.com');
         |                       ^
      12 |       });
      13 |
```

Closes #29260.
2024-05-13 18:51:30 -07:00
..
html-reporter feat(html): allow ctrl+clicking status (#30556) 2024-04-26 10:50:20 -07:00
playwright feat: APIRequestContext dispose reason (#30765) 2024-05-13 18:51:30 -07:00
playwright-browser-chromium chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-browser-firefox chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-browser-webkit chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-chromium chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-core feat: APIRequestContext dispose reason (#30765) 2024-05-13 18:51:30 -07:00
playwright-ct-core chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-ct-react chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-ct-react17 chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-ct-solid chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-ct-svelte chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-ct-vue chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-ct-vue2 chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-firefox chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-test chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
playwright-webkit chore: set minimum Node.js requirement to 18 (#30684) 2024-05-08 17:41:27 +01:00
protocol/src feat: APIRequestContext dispose reason (#30765) 2024-05-13 18:51:30 -07:00
recorder fix(recorder): reference Language enum for recorderTypes (#29294) 2024-02-01 13:48:30 -08:00
trace/src chore: make NodeSnapshot type recursive and more (#30619) 2024-05-08 11:08:40 -07:00
trace-viewer chore(trace-viewer): more clear classification of trace contexts (#30737) 2024-05-09 17:28:39 -07:00
web chore: split ui mode view into files (#30029) 2024-03-20 16:00:35 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00