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

Added tests for FluidTimePicker #17541

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

guidari
Copy link
Contributor

@guidari guidari commented Sep 20, 2024

Closes #17516

Added tests for FluiTimePicker

Testing / Reviewing

  • CI should pass

@guidari guidari requested a review from a team as a code owner September 20, 2024 19:59
Copy link

netlify bot commented Sep 20, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit f814d1c
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/66edd415cc6779000848282c
😎 Deploy Preview https://deploy-preview-17541--carbon-elements.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.

Copy link

netlify bot commented Sep 20, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f814d1c
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/66edd4159946ca000804d893
😎 Deploy Preview https://deploy-preview-17541--v11-carbon-react.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.

Copy link

codecov bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.01%. Comparing base (a179e4b) to head (f814d1c).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17541      +/-   ##
==========================================
+ Coverage   76.95%   77.01%   +0.05%     
==========================================
  Files         408      408              
  Lines       13979    13979              
  Branches     4291     4291              
==========================================
+ Hits        10758    10766       +8     
+ Misses       3048     3042       -6     
+ Partials      173      171       -2     

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

Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

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

Looks awesome! Just one small thing

</FluidTimePicker>
);

fireEvent.click(screen.getByRole('textbox'));
Copy link
Member

Choose a reason for hiding this comment

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

Could this use userEvent instead? It more realistically simulates the interaction, see here

@Gururajj77 Gururajj77 changed the title Added tests for FluiTimePicker Added tests for FluidTimePicker Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase FluidTimePicker.Skeleton unit test coverage
2 participants