canonical / canonical/vanilla-framework

Percy snapshots for tooltip should include tooltips themselves

Open
#5,337 3 comments 0 reactions 0 assignees View on GitHub
Bug 🐛 P3 Triaged Triaged: v4
Dominant language
HTML
Stars
983
Forks
216
Avg merge
3d 13h
Merged PRs (30d)
3

Description

**Describe the bug**

Currently, the Percy snapshots for the tooltip component don't actually show the tooltip:

![image](https://github.com/user-attachments/assets/5bf839a4-25e9-4540-a7a0-a298a5728117)

This is probably because the visual regression tests don't (can't?) trigger a hover state. We should figure out if we can trigger such a state in the tests, and if not, figure out some sort of workaround.

**Expected behavior**

Percy snapshots for tooltip component should include the tooltip itself.

Contributor guide

Open the contributing guide

Research direction

Locate the tooltip component's Percy snapshot and the visual regression test setup. First check whether the test can trigger the tooltip's hover state; if not, evaluate a workaround, then confirm that the resulting Percy snapshot visibly includes the tooltip itself.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.