feat(NumberField): add belowMin
and aboveMax
error keys to NumberField
#13650
Annotations
3 errors and 1 warning
test/setup-tests.js#L62
Warning: Failed %s type: %s%s
at logOrThrow (test/setup-tests.js:62:11)
at console.logOrThrow [as error] (test/setup-tests.js:89:3)
at printWarning (node_modules/react/cjs/react-jsx-dev-runtime.development.js:117:30)
at error (node_modules/react/cjs/react-jsx-dev-runtime.development.js:93:5)
at checkPropTypes (node_modules/react/cjs/react-jsx-dev-runtime.development.js:620:11)
at validatePropTypes (node_modules/react/cjs/react-jsx-dev-runtime.development.js:1072:7)
at Object.jsxWithValidation (node_modules/react/cjs/react-jsx-dev-runtime.development.js:1192:7)
at jsxDEV (node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.dev.js:40:42)
at renderNumberField (packages/components/fields/number-field/src/number-field.spec.js:50:15)
at Object.renderNumberField (packages/components/fields/number-field/src/number-field.spec.js:218:29)
|
packages/components/fields/number-field/src/number-field.spec.js#L239
TestingLibraryElementError: Unable to find an element with the text: Value must be greater than or equal to 2.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div>
<div
class="css-1j7hpg-Horizontal-getConstraintStyles-Horizontal"
>
<div
class="css-a5wzts-getStyles"
>
<div
class="css-1j7hpg-Horizontal-getConstraintStyles-Horizontal"
>
<span
class="css-a45z0n-getStyles"
>
<div
class="css-1s6r560-wrapStyles"
>
<label
class="css-1q3368g-Label"
for="text-field"
>
<div
class="css-15r25ih-detailStyles"
>
NumberField
</div>
</label>
</div>
</span>
</div>
<div
class="css-1j7hpg-Horizontal-getConstraintStyles-Horizontal"
>
<input
aria-errormessage="number-field-error-1"
aria-invalid="true"
class="css-1mx2vfc-getInputStyles"
contenteditable="true"
id="text-field"
max="2"
type="number"
value="3"
/>
</div>
</div>
</div>
</div>
</div>
</body>
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (packages/components/fields/number-field/src/number-field.spec.js:239:9)
|
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The logs for this run have expired and are no longer available.
Loading