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 wrapField tests to @testing-library/react #1318

Merged
merged 28 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
86ca983
Moved SelectField tests to suites
zaxovaiko Nov 9, 2023
93c60e6
Added few more test suites
zaxovaiko Feb 9, 2024
baaba56
Added few more tests
zaxovaiko Feb 23, 2024
abbdf52
Added few more tests
zaxovaiko Feb 24, 2024
8fbba3f
Added more tests
zaxovaiko Feb 29, 2024
dc39e50
Removed theme tests
zaxovaiko Feb 29, 2024
f3fa234
wip, three tests need attention
zaxovaiko Feb 29, 2024
f232d6b
Added few more tests for array
zaxovaiko Feb 29, 2024
afb8bc0
changed props
zaxovaiko Feb 29, 2024
c737546
Added few more tests for partial hit
zaxovaiko Feb 29, 2024
6f62067
Added few more tests for partial hit
zaxovaiko Mar 1, 2024
85268e5
Added few more tests for partial hit
zaxovaiko Mar 1, 2024
c7a9c37
Enable AntD SelectField tests suite
kestarumper Mar 23, 2024
ce1e1fe
Merge branch 'master' into select-field-tests
zaxovaiko Mar 31, 2024
9dec81c
Added (multiple) label to test names
zaxovaiko Mar 31, 2024
2e5dfa1
Merge branch 'master' into select-field-tests-antd
zaxovaiko Apr 5, 2024
e2aa01a
Added labels multiple to tests
zaxovaiko Apr 5, 2024
6e3910b
Rewritten a few tests for wrapField
zaxovaiko Apr 19, 2024
38476ab
Merged with main
zaxovaiko Apr 19, 2024
f955d8f
Added missing test for bootstrap3
zaxovaiko Apr 19, 2024
e16db3c
rewritten few more tests
zaxovaiko Apr 19, 2024
ab85d95
Refactored code
zaxovaiko Apr 19, 2024
783649b
Merge branch 'master' into wrap-field-tests
zaxovaiko Apr 22, 2024
6e05d14
Moved a few tests into AntD and MUI packages
zaxovaiko May 24, 2024
8fdb7d9
Added a few options specific for some props and moved test to AntD
zaxovaiko May 24, 2024
a1238de
Completed tests
zaxovaiko May 24, 2024
b36fc61
Removed unused props
zaxovaiko May 24, 2024
0b739ca
Used container from zod
zaxovaiko May 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/uniforms-antd/__tests__/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,7 @@ describe('@RTL', () => {
suites.testTextField(theme.TextField);
suites.testValidatedForm(theme.ValidatedForm);
suites.testValidatedQuickForm(theme.ValidatedQuickForm);
suites.testWrapField(theme.wrapField, {
skipForAntD: true,
});
});
75 changes: 0 additions & 75 deletions packages/uniforms-antd/__tests__/wrapField.tsx

This file was deleted.

1 change: 1 addition & 0 deletions packages/uniforms-bootstrap3/__tests__/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ describe('@RTL', () => {
suites.testTextField(theme.TextField, { testWrapClassName: true });
suites.testValidatedForm(theme.ValidatedForm);
suites.testValidatedQuickForm(theme.ValidatedQuickForm);
suites.testWrapField(theme.wrapField, { onlyForBootstrap3: true });
});
84 changes: 0 additions & 84 deletions packages/uniforms-bootstrap3/__tests__/wrapField.tsx

This file was deleted.

1 change: 1 addition & 0 deletions packages/uniforms-bootstrap4/__tests__/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ describe('@RTL', () => {
suites.testTextField(theme.TextField, { testWrapClassName: true });
suites.testValidatedForm(theme.ValidatedForm);
suites.testValidatedQuickForm(theme.ValidatedQuickForm);
suites.testWrapField(theme.wrapField);
});
76 changes: 0 additions & 76 deletions packages/uniforms-bootstrap4/__tests__/wrapField.tsx

This file was deleted.

1 change: 1 addition & 0 deletions packages/uniforms-bootstrap5/__tests__/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,5 @@ describe('@RTL', () => {
});
suites.testValidatedForm(theme.ValidatedForm);
suites.testValidatedQuickForm(theme.ValidatedQuickForm);
suites.testWrapField(theme.wrapField);
});
76 changes: 0 additions & 76 deletions packages/uniforms-bootstrap5/__tests__/wrapField.tsx

This file was deleted.

1 change: 1 addition & 0 deletions packages/uniforms-material/__tests__/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,5 @@ describe('@RTL', () => {
});
suites.testValidatedForm(theme.ValidatedForm);
suites.testValidatedQuickForm(theme.ValidatedQuickForm);
suites.testWrapField(theme.wrapField, { skipForMUI: true });
});
35 changes: 0 additions & 35 deletions packages/uniforms-material/__tests__/wrapField.tsx

This file was deleted.

3 changes: 3 additions & 0 deletions packages/uniforms-mui/__tests__/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,7 @@ describe('@RTL', () => {
suites.testTextField(theme.TextField);
suites.testValidatedForm(theme.ValidatedForm);
suites.testValidatedQuickForm(theme.ValidatedQuickForm);
suites.testWrapField(theme.wrapField, {
skipForMUI: true,
});
});
Loading
Loading