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

progress bar testing #1246 #1644

Merged
merged 1 commit into from
Jan 6, 2025
Merged

progress bar testing #1246 #1644

merged 1 commit into from
Jan 6, 2025

Conversation

whitneywind
Copy link
Member

@whitneywind whitneywind commented Nov 8, 2024

Fixes #1246

Changes Made

Wrote tests to check that the progress bar renders correctly and with the correct value.

Action Items

  • change base branch to dev
  • review PR files to guarantee ONLY relevant code is present
  • add ready for dev lead task ready for dev lead to evaluate label

@whitneywind whitneywind added the ready for dev lead task ready for dev lead to evaluate label Nov 8, 2024
Copy link
Member

@sydneywalcoff sydneywalcoff left a comment

Choose a reason for hiding this comment

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

hey @whitneywind! Great start here!

Can we also make sure that visually it's displaying the correct percentage? So that if the inputted value is 50%, the progress bar should be half filled.

Other than that small addition, great work!!

@sydneywalcoff sydneywalcoff removed the ready for dev lead task ready for dev lead to evaluate label Nov 18, 2024
@whitneywind
Copy link
Member Author

Because the jest tests render the component without the context of a browser window, it won't test the physical length. Instead, it tests for the MUI value that will result in the correct size.

Copy link
Member

@sydneywalcoff sydneywalcoff left a comment

Choose a reason for hiding this comment

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

hi @whitneywind ! These look great. Excited to get them merged.

@sydneywalcoff sydneywalcoff merged commit 46a9f7a into dev Jan 6, 2025
1 check passed
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