tupleTyping | ||
open | /validator.html | |
type | json | { "tupleTyping":[2,"a"] } |
type | schema | { "type":"object", "properties":{ "tupleTyping":{ "type":"array", "items":[ {"type":"string"}, {"type":"number"} ] } } } |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
verifyTextPresent | tupleTyping[0] | |
verifyTextPresent | tupleTyping[1] | |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
verifyTextPresent | tupleTyping[0] | |
verifyTextPresent | tupleTyping[1] | |
type | json | { "tupleTyping":["2",2,3] } |
type | schema | { "type":"object", "properties":{ "tupleTyping":{ "type":"array", "items":[ {"type":"string"}, {"type":"number"} ] , "additionalProperties":false } } } |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
verifyTextPresent | tupleTyping[2] | |
click | bt-validate-js | |
verifyTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
verifyTextPresent | tupleTyping[2] | |
type | schema | { "type":"object", "properties":{ "tupleTyping":{ "type":"array", "items":[ {"type":"string"}, {"type":"number"} ] , "additionalProperties":{"type":"string"} } } } |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
verifyTextPresent | tupleTyping[2] | |
click | bt-validate-js | |
verifyTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
verifyTextPresent | tupleTyping[2] | |
type | json | { "tupleTyping":["2"] } |
type | schema | { "type":"object", "properties":{ "tupleTyping":{ "type":"array", "items":[ {"type":"string"}, {"type":"number"} ] } } } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
verifyTextPresent | tupleTyping[1] :: is missing and it is not optional | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
verifyTextPresent | tupleTyping[1] :: is missing and it is not optional | |
type | json | { "tupleTyping":["2"] } |
type | schema | { "type":"object", "properties":{ "tupleTyping":{ "type":"array", "items":[ {"type":"string"}, {"type":"number","optional":true}, {"type":"number","optional":true} ] } } } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID |