Playwright Annotations
Using Playwright Annotations to enhance reporting to Currents dashboard
test("annotated test", {
annotation: {
type: "issue",
description: "https://github.com/microsoft/playwright/issues/23180",
},
}, async ({ page }, testInfo) => {
testInfo.annotations.push({
type: "note",
description: "This is a note",
});
testInfo.annotations.push({
type: "jira",
description: "https://jira.company.io/ticket/JIRA-123",
});
testInfo.annotations.push({
type: "owner",
description: "johnsmith",
});
});
Limitations
Source and Deduplication
Annotation: Test Owner

Annotation: Slack Notifications
Annotation: Custom Metrics
Recording Custom Metrics
Parameter
Type
Description
Browsing Custom Metrics

Last updated
Was this helpful?