extends | ||
open | /validator.html | |
type | json | { "name":"bruno", "age":50 } |
type | schema | { "id": "person", "type": "object", "properties": { "name": { "type": "string" }, "age" : { "type": "integer", "maximum":120 } }, "extends": { "id": "oldPerson", "type": "object", "properties": { "age" : {"minimum":70} } } } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
type | json | { "name":"bruno", "age":80 } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
type | json | { "name":"bruno", "age":180 } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID |