playwright/packages
Dmitry Gozman a708b65512 feat: per-assertion snapshot path template in config
Introduces the following properties in the config that take
precedence over `config.snapshotPathTemplate`.

```ts
export default {
  expect: {
    toHaveScreenshot: {
      pathTemplate: '__screenshots__{/projectName}/{testFilePath}/{arg}{ext}',
    },
    toMatchAriaSnapshot: {
      pathTemplate: '__snapshots__/{testFilePath}/{arg}{ext}',
    },
  },
};
```

Additionally, changes the default template for aria snapshots to:
```
{snapshotDir}/{testFileDir}/{testFileName}-snapshots/{arg}{ext}
```
This is technically a breaking change.
2025-01-29 14:43:42 +00:00
..
html-reporter chore: move attachment link back to tree item, make it flash yellow (#34353) 2025-01-20 09:06:01 +01:00
playwright feat: per-assertion snapshot path template in config 2025-01-29 14:43:42 +00:00
playwright-browser-chromium chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-browser-firefox chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-browser-webkit chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-chromium chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-core fix(firefox): disable fetch keep-alive for now before a proper fix (#34530) 2025-01-29 09:50:32 +00:00
playwright-ct-core chore(deps): bump vite from 5.4.6 to 5.4.14 (#34420) 2025-01-22 14:23:05 +01:00
playwright-ct-react chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-ct-react17 chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-ct-svelte chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-ct-vue chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-firefox chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-test chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-tools chore: clean up tool example (#34512) 2025-01-27 20:13:18 -08:00
playwright-webkit chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
protocol/src chore: land experimental tools (#34503) 2025-01-27 14:49:38 -08:00
recorder chore: consolidate aria parser in isomorphic bundle (#34298) 2025-01-10 15:32:35 -08:00
trace/src fix(tracing): use page swap timestamp to find closest screenshot (#32512) 2024-09-10 14:32:33 +02:00
trace-viewer feat(trace-viewer): display query string in network tab (#34505) 2025-01-28 05:19:30 -08:00
web chore: move attachment link back to tree item, make it flash yellow (#34353) 2025-01-20 09:06:01 +01:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00