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

Background image #9525

Closed
Tracked by #7594
wise-king-sullyman opened this issue Aug 23, 2023 · 2 comments · Fixed by #9584
Closed
Tracked by #7594

Background image #9525

wise-king-sullyman opened this issue Aug 23, 2023 · 2 comments · Fixed by #9584
Assignees
Milestone

Comments

@wise-king-sullyman
Copy link
Contributor

No description provided.

@kmcfaul
Copy link
Contributor

kmcfaul commented Aug 28, 2023

@wise-king-sullyman The current tests for background image look okay to me as far as the RTL practices, can you confirm?

@kmcfaul kmcfaul moved this from Not started to In Progress in PatternFly Issues Aug 28, 2023
@wise-king-sullyman
Copy link
Contributor Author

I think it could be improved by updating the tests to be more like the Backdrop tests, i.e. checking that the default class name is the only class on it by default, that other props passed to it are properly placed, and that the structure stays consistent with a snapshot.

Also IMO the first test would ideally be split into two tests since the class assertion is a separate behavior than the styles.

That being said this is all much more minor/simpler stuff than most components, so if you want to put more focus on the significant updates needed elsewhere and leave this one up for a newer contributor (or just one less experienced with testing) I don't think that would be a bad idea.

@wise-king-sullyman wise-king-sullyman moved this from In Progress to PR Review in PatternFly Issues Sep 12, 2023
@wise-king-sullyman wise-king-sullyman added this to the 2023.Q3 milestone Sep 12, 2023
@wise-king-sullyman wise-king-sullyman modified the milestones: 2023.Q3, 2023.Q4 Sep 21, 2023
@github-project-automation github-project-automation bot moved this from PR Review to Done in PatternFly Issues Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants