enum | ||
open | /validator.html | |
type | json | { "value":"Morango" } |
type | schema | { "type":"object", "properties":{ "value":{"type":"string","enum":["Abacate","Manga","Pitanga"]} }, "additionalProperties":false } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: INVALID | |
type | json | { "value":"Abacate" } |
click | bt-validate-js | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID | |
click | bt-validate-php | |
waitForTextPresent | JSON: | |
verifyTextPresent | JSON: VALID |