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

[Tests] Tooltip #504

Open
nowyDEV opened this issue Oct 3, 2022 · 1 comment
Open

[Tests] Tooltip #504

nowyDEV opened this issue Oct 3, 2022 · 1 comment
Labels
enhancement New feature or request hacktoberfest

Comments

@nowyDEV
Copy link
Contributor

nowyDEV commented Oct 3, 2022

https://github.com/nordcloud/GNUI/tree/master/src/components/tooltip
https://master.du3gff836giqw.amplifyapp.com/?path=/docs/components-tooltip--default-story

Tasks:

  • Add tests for Tooltip component, scenarios:
    • tooltip correctly appears in relation to provided position prop (position: right/left, bottom: true/false)
    • caption is properly displayed
    • Tooltip appears on hover & dissapears on mouse leave
@TDP17
Copy link
Contributor

TDP17 commented Oct 15, 2022

Hi, can you expand a bit on the first two tests as to what exactly should be tested?

  • tooltip correctly appears in relation to provided position prop (position: right/left, bottom: true/false)
  • caption is properly displayed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants