Skip to content

test: Add visual tests for the CopyToClipboard One Theme glyph swap - #5169

Merged
ywyyu17 merged 5 commits into
mainfrom
dev-v3-ywy-visual
Oct 29, 2026
Merged

ywyyu17 merged 5 commits into
mainfrom
dev-v3-ywy-visual

Conversation

@ywyyu17

@ywyyu17 ywyyu17 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Follow-up to #5157, which added the One Theme glyph swap to CopyToClipboard and the copy-to-clipboard/motion dev page. This adds visual regression coverage for the swapped end state.

Related links, issue #, if available: n/a

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.73%. Comparing base (396e7f1) to head (ff78159).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5169   +/-   ##
=======================================
  Coverage   97.73%   97.73%           
=======================================
  Files         998      998           
  Lines       32294    32294           
  Branches    11945    11944    -1     
=======================================
  Hits        31564    31564           
- Misses        685      724   +39     
+ Partials       45        6   -39     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ywyyu17

ywyyu17 commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

/override-visual-regression New visual definitions for copy-to-clipboard/motion

@ywyyu17
ywyyu17 marked this pull request as ready for review October 28, 2026 13:45
@ywyyu17
ywyyu17 requested a review from a team as a code owner October 28, 2026 13:45
@ywyyu17
ywyyu17 requested review from ernst-dev and mxschll and removed request for a team and ernst-dev October 28, 2026 13:45
setup: async ({ page }) => {
await page.click(triggerSelector(testId));
// Wait out the popover's settle animation so it is captured at rest.
await page.waitForJsTimers(300);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As a follow up: can we make the "disable motion" feature work properly so we don't need this timer? Currently, only sets some css timing to 0 globally, which does not actually disable all motion.

@ywyyu17
ywyyu17 enabled auto-merge October 28, 2026 14:06
@ywyyu17

ywyyu17 commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

/override-visual-regression New visual definitions for copy-to-clipboard/motion

@ywyyu17
ywyyu17 added this pull request to the merge queue Oct 28, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Oct 28, 2026
@ywyyu17
ywyyu17 added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit 3e9cd2f Oct 29, 2026
86 of 89 checks passed
@ywyyu17
ywyyu17 deleted the dev-v3-ywy-visual branch October 29, 2026 09:26

This branch was successfully deployed

3 active deployments
dev-pages-react18 — ff781591 Deployed Oct 28, 2026 by ywyyu17 via deploy (React 18) / deploy #3031
dev-pages-react16 — ff781591 Deployed Oct 28, 2026 by ywyyu17 via deploy (React 16) / deploy #3031
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