playwright/tests
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
..
android chore: do not use project id in telereporter (#29776) 2024-03-01 21:44:08 -08:00
assets fix(trace-viewer): make call ids unique across trace files (#30720) 2024-05-08 17:33:31 -07:00
components chore: fix typos (#30645) 2024-05-08 19:40:03 +01:00
config chore: fix typos (#30645) 2024-05-08 19:40:03 +01:00
electron fix(electron): record har file (#30748) 2024-05-10 15:32:01 -07:00
image_tools chore: bump @babel dependencies (#27632) 2023-10-17 20:52:41 +02:00
installation chore: fix typos (#30645) 2024-05-08 19:40:03 +01:00
library fix(selector generator): properly escape re used in has-text (#30767) 2024-05-13 12:40:46 -07:00
page fix(chromium): concat all post data entries for request.postData() (#30734) 2024-05-09 14:08:38 -07:00
playwright-test feat: APIRequestContext dispose reason (#30765) 2024-05-13 18:51:30 -07:00
stress chore: drop firefox-asan (#30626) 2024-05-01 22:13:00 +00:00
third_party/proxy chore: fix typos (#30645) 2024-05-08 19:40:03 +01:00
webview2 chore: remove checkCoverage script (#30552) 2024-04-25 14:00:14 -07:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json test: add installation tests for supposed plugin story (#27331) 2023-09-28 17:18:22 -07:00