maxDecimal | ||
open | /validator.html | |
type | schema | { "type":"object", "properties":{ "value":{"type":"number","maxDecimal":3} } } |
type | json | { "value":5.6333 } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
type | json | { "value":5.633 } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID |