Skip to content

✅ Test: Added Playwright test suite (polished existing) for CN, JP, KR characters. #473

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

Merged
merged 2 commits into from
Dec 22, 2024

Conversation

KemingHe
Copy link
Collaborator

Test suite covers:

  • Dark theme
  • Jost font
  • Striped background pattern
  • Custom SVG logo usage
  • All variants of CN, JP, KR:
    • Pin yin, simplified, and traditional Chinese
    • Hiragana, katakana, and kanji Japanese
    • North and south Korean, both modern and formal

socialify-custom-preview

Generated with https://socialify.git.ci/wei/socialify/svg?custom_description=%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%2C+%E7%B9%81%E9%AB%94%E4%B8%AD%E6%96%87+%28f%C3%A1n+t%C7%90+zh%C5%8Dng+w%C3%A9n%29%2C+%E3%81%AB%E3%81%BB%E3%82%93%E3%81%94+%E3%81%B2%E3%82%89%E3%81%8C%E3%81%AA%2C+%E3%83%8B%E3%83%9B%E3%83%B3%E3%82%B4+%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A%2C+%E6%97%A5%E6%9C%AC%E8%AA%9E+%E6%BC%A2%E5%AD%97%2C+%ED%95%9C%EA%B5%AD%EC%96%B4+%E9%9F%93%E5%9C%8B%E8%AA%9E%2C+%EC%A1%B0%EC%84%A0%EB%A7%90+%E6%9C%9D%E9%AE%AE%EB%A7%90&description=1&font=Jost&language=1&logo=https%3A%2F%2Fraw.githubusercontent.com%2Fwei%2Fsocialify%2F1f520b6bfe799300bcff9edcdc330828d681d382%2Fapp%2Ficon.svg&name=1&owner=1&pattern=Diagonal+Stripes&theme=Dark

Complete #424

Removed unnecessary comments, modularized custom timeouts to constants, added appropriate timeouts to ensure component transition finishes before next step.
Also added accessible attr for input/textarea components to select them in Playwright. Updated snapshots accordingly.
Copy link

changeset-bot bot commented Dec 21, 2024

🦋 Changeset detected

Latest commit: b585e38

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
socialify Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Dec 21, 2024

Deploy Preview for github-socialify ready!

Name Link
🔨 Latest commit b585e38
🔍 Latest deploy log https://app.netlify.com/sites/github-socialify/deploys/6767477cbc95a4000732d72a
😎 Deploy Preview https://deploy-preview-473--github-socialify.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@KemingHe
Copy link
Collaborator Author

Snapshot check threshold is set to 100%, no fear of uncaught diffs @wei .

@wei wei enabled auto-merge (squash) December 22, 2024 00:05
Copy link
Owner

@wei wei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, approved!

@wei wei merged commit 2e45d6e into wei:master Dec 22, 2024
7 checks passed
@KemingHe KemingHe deleted the test-addcjkcharplaywright-keminghe branch December 22, 2024 00:41
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