phpTypeCastMode | ||
open | /validator.html | |
type | schema | { "type":"object", "properties":{ "a":{"type":"number"} } } |
type | json | { "a":"c" } |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
click | bt-validate-php-type-cast-mode | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
type | json | { "a":"9" } |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
click | bt-validate-php-type-cast-mode | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
type | schema | { "type":"object", "properties":{ "a":{"type":"integer","maximum":8} } } |
click | bt-validate-php-type-cast-mode | |
waitForTextPresent | JSON: | |
verifyTextPresent | must have a maximum value of 8 | |
type | schema | { "type":"object", "properties":{ "a":{"type":"integer","maximum":8.0} } } |
click | bt-validate-php-type-cast-mode | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID |