Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Feat: Add Playwright Test for Vue components #3115

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

carwack
Copy link
Collaborator

@carwack carwack commented Dec 7, 2024

PoC to see how to add Playwright tests for Vue components.

Currently only on the Avatar component.
The tests are with Playwright using Histoire to render the component.
The tests contain snapshot matching with screenshots and using the axe-core/playwright package to test on a11y violations.

What is your take on this? Will this add value to the Ark UI component libraries?

@carwack carwack added the vue label Dec 7, 2024
@carwack carwack self-assigned this Dec 7, 2024
Copy link

vercel bot commented Dec 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ark-docs ✅ Ready (Inspect) Visit Preview Dec 10, 2024 7:54pm

Copy link

pkg-pr-new bot commented Dec 10, 2024

Open in Stackblitz

npm i https://pkg.pr.new/chakra-ui/ark/@ark-ui/react@3115
npm i https://pkg.pr.new/chakra-ui/ark/@ark-ui/solid@3115
npm i https://pkg.pr.new/chakra-ui/ark/@ark-ui/svelte@3115
npm i https://pkg.pr.new/chakra-ui/ark/@ark-ui/vue@3115

commit: 7a2eb71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant