playwright/packages
Anthony Roberts 71c43693ac
feat(reporter): add copy button for annotations (#31790)
Adds a copy-to-clipboard button for each annotation so that text can be
copied easily.
This re-uses the existing `CopyToClipboard` component and adds a `small`
variant that can be used inline. The icon size and colour have been
chosen to avoid being overwhelming when used inline.

Related to #30141 
I opted not to introduce the hover behaviour from #30749 as it's less
discoverable, but can understand why that might be favourable. Certainly
open to suggestions 😄

<img width="379" alt="Screenshot 2024-07-22 at 3 23 53 PM"
src="https://github.com/user-attachments/assets/3b9998cf-2e8d-40c9-9c8a-64eab3a9ed2e">
2024-09-16 07:57:11 -07:00
..
html-reporter feat(reporter): add copy button for annotations (#31790) 2024-09-16 07:57:11 -07:00
playwright fix(expect): respect custom message in expect.poll (#32603) 2024-09-16 00:10:06 -07:00
playwright-browser-chromium chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-browser-firefox chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-browser-webkit chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-chromium chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-core feat(tracing): add .pwtrace to trace file extension (#32581) 2024-09-14 10:17:07 +02:00
playwright-ct-core fix(ct): throw error if inline component is getting mounted (#32531) 2024-09-10 11:15:20 +02:00
playwright-ct-react chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-ct-react17 chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-ct-solid chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-ct-svelte chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-ct-vue chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-ct-vue2 chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-firefox chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-test chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
playwright-webkit chore: mark 1.48.0-next (#32466) 2024-09-05 12:57:16 +02:00
protocol/src feat(api): add method to force garbage collection (#32383) 2024-09-13 23:09:36 +02:00
recorder chore: allow recorder rewrite annotations (#32381) 2024-08-29 14:16:01 -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 chore: recorder is trace viewer experiment (#32598) 2024-09-12 13:39:44 -07:00
web chore: roll expect and move it to third party (#32458) 2024-09-09 13:12:20 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00