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

Migrated TextField tests to @testing-library/react #1298

Merged
merged 11 commits into from
Mar 29, 2024

Conversation

kestarumper
Copy link
Member

Is part of #1130

@kestarumper kestarumper self-assigned this Feb 9, 2024
@github-actions github-actions bot added Area: Core Affects the uniforms package Area: Theme Affects some of the theme packages Theme: AntD Affects the uniforms-antd package Theme: Bootstrap 3 Affects the uniforms-bootstrap3 package labels Feb 9, 2024
Copy link

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.60%. Comparing base (eed59c6) to head (b12ab33).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1298   +/-   ##
=======================================
  Coverage   94.60%   94.60%           
=======================================
  Files         231      231           
  Lines        3821     3821           
  Branches     1029     1029           
=======================================
  Hits         3615     3615           
  Misses         82       82           
  Partials      124      124           

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

@github-actions github-actions bot added Theme: Material-UI Affects the uniforms-material package Theme: MUI Affects the uniforms-mui package Theme: Unstyled Affects the uniforms-unstyled package labels Feb 9, 2024
@github-actions github-actions bot added Theme: Bootstrap 4 Affects the uniforms-bootstrap4 package Theme: Bootstrap 5 Affects the uniforms-bootstrap5 package Theme: Semantic UI Affects the uniforms-semantic package labels Feb 9, 2024
@kestarumper kestarumper marked this pull request as ready for review February 20, 2024 14:07
@kestarumper kestarumper requested review from a team, zaxovaiko, zendranm and piotrpospiech and removed request for a team February 20, 2024 14:08
piotrpospiech
piotrpospiech previously approved these changes Feb 22, 2024
zaxovaiko
zaxovaiko previously approved these changes Feb 22, 2024

if (options.testShowInlineError) {
test('<TextField> - renders a TextField with correct error text (specified)', () => {
const errorMessage = 'Error';
Copy link
Member

Choose a reason for hiding this comment

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

I'd put a different errorMessage text to not interfere with a probable default text. Something like "Error message test" would be nice.

@kestarumper kestarumper merged commit 8b3f6f5 into master Mar 29, 2024
7 checks passed
@kestarumper kestarumper deleted the migrate-from-enzyme-textfield branch March 29, 2024 11:12
@kestarumper kestarumper linked an issue Apr 7, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Core Affects the uniforms package Area: Theme Affects some of the theme packages Theme: AntD Affects the uniforms-antd package Theme: Bootstrap 3 Affects the uniforms-bootstrap3 package Theme: Bootstrap 4 Affects the uniforms-bootstrap4 package Theme: Bootstrap 5 Affects the uniforms-bootstrap5 package Theme: Material-UI Affects the uniforms-material package Theme: MUI Affects the uniforms-mui package Theme: Semantic UI Affects the uniforms-semantic package Theme: Unstyled Affects the uniforms-unstyled package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants