Skip to content

feat: add automatic workspace and project annotations to all tests#99

Merged
subhashkhileri merged 4 commits intoredhat-developer:mainfrom
zdrapela:auto-annotations
May 6, 2026
Merged

feat: add automatic workspace and project annotations to all tests#99
subhashkhileri merged 4 commits intoredhat-developer:mainfrom
zdrapela:auto-annotations

Conversation

@zdrapela
Copy link
Copy Markdown
Member

@zdrapela zdrapela commented May 5, 2026

Summary

  • Adds an automatic fixture that pushes workspace and project annotations to every test via testInfo.annotations
  • Workspace name is derived from testDir, project name comes from the Playwright project configuration
  • Zero changes required in consumer workspaces

Verified locally against overlay tests.

Jira: https://redhat.atlassian.net/browse/RHIDP-13047

@zdrapela zdrapela marked this pull request as ready for review May 6, 2026 10:26
Comment thread src/playwright/fixtures/test.ts Outdated
zdrapela added 4 commits May 6, 2026 13:36
Add an auto test-scoped fixture that pushes workspace and project
annotations to every test via testInfo.annotations. The workspace
name is derived from WorkspacePaths, and the project name comes from
the Playwright project configuration. This requires zero changes in
consumer workspaces.

Assisted-by: OpenCode
Assisted-by: OpenCode
@zdrapela zdrapela force-pushed the auto-annotations branch from edfb968 to 05460b7 Compare May 6, 2026 11:48
@subhashkhileri subhashkhileri merged commit 9b2f574 into redhat-developer:main May 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants