Skip to content

feat: add Playwright screenshot generation for wp-admin pages#4

Merged
mpge merged 5 commits intomainfrom
feat/screenshots
Apr 6, 2026
Merged

feat: add Playwright screenshot generation for wp-admin pages#4
mpge merged 5 commits intomainfrom
feat/screenshots

Conversation

@mpge
Copy link
Copy Markdown
Member

@mpge mpge commented Apr 6, 2026

Summary

  • Adds a GitHub Actions workflow that spins up WordPress with a MySQL service container, installs/activates the Escalated plugin, and uses Playwright to capture screenshots of all 11 wp-admin pages (Ticket List, Ticket Detail, Departments, SLA Policies, Automations, Tags, Canned Responses, Macros, Reports, Settings, API Tokens).
  • Triggers on version tags (v*) and manual workflow_dispatch; screenshots are uploaded as build artifacts and optionally committed back to main on tag pushes.
  • Includes Playwright config, test spec, .gitignore for node_modules/ and vendor/, and a .gitkeep to track the results directory.

Test plan

  • Trigger the workflow manually via Actions > "Generate Screenshots" > Run workflow
  • Verify all 11 screenshot PNGs appear in the escalated-wp-screenshots artifact
  • Confirm the workflow completes without errors on a fresh run
  • Test tag-triggered run to verify screenshots are committed back to main

@mpge mpge merged commit 8d2a355 into main Apr 6, 2026
2 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.

1 participant