playwright/packages
Simon Knott 1b457b1ff8
fix(html reporter): render annotation newlines (#32948)
Closes https://github.com/microsoft/playwright/issues/32925. Before this
change, newlines in annotation descriptions weren't respected. This
change makes them shown. Here's how it looks for this annotation:

```ts
test.info().annotations.push({
  type: 'user story',
  description: '\n- user goes to the page\n- user clicks the button\n- user sees the result',
});
```

Before:

<img width="1071" alt="Screenshot 2024-10-04 at 09 55 15"
src="https://github.com/user-attachments/assets/89e74ff5-ea83-48da-a33b-833423916d95">

After:

<img width="1031" alt="Screenshot 2024-10-04 at 09 51 08"
src="https://github.com/user-attachments/assets/0f2914e8-bd88-4970-aa68-6a5a9828295c">
2024-10-04 14:18:38 +02:00
..
html-reporter fix(html reporter): render annotation newlines (#32948) 2024-10-04 14:18:38 +02:00
playwright fix(ct-react): support shorthand fragment notation (#32900) 2024-10-02 11:19:09 +02:00
playwright-browser-chromium chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-browser-firefox chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-browser-webkit chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-chromium chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-core chore: clear pendingDocument() for the same-document navigation (#32954) 2024-10-04 04:54:56 -07:00
playwright-ct-core chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-react fix(ct-react): support shorthand fragment notation (#32900) 2024-10-02 11:19:09 +02:00
playwright-ct-react17 chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-solid chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-svelte chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-vue fix(ct-vue): update default slot should work (#32952) 2024-10-04 14:18:21 +02:00
playwright-ct-vue2 chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-firefox chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-test chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-webkit chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
protocol/src feat(routeWebSocket): address api review feedback (#32850) 2024-09-27 04:01:31 -07:00
recorder chore: update trace event on action merge (#32860) 2024-09-27 21:18:30 -07:00
trace/src fix(tracing): use page swap timestamp to find closest screenshot (#32512) 2024-09-10 14:32:33 +02:00
trace-viewer fix(trace viewer): reveal stack for highlighted action (#32919) 2024-10-02 13:30:44 +02:00
web chore: move actions types to recorder (#32839) 2024-09-26 14:50:09 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00