Open pranavparikh opened 10 years ago
Running this throws the error
] [INFO] DataProvider - [ { uri: 'urn:uuid:5e6ecb36-72a3-4c3b-97ce-a9e367a597b6#/config', schemaUri: 'urn:uuid:098fc000-6568-4665-a274-253a6813937a#/properties/config', attribute: 'type', message: 'Instance is not a required type', details: [ 'object' ] }, { uri: 'urn:uuid:5e6ecb36-72a3-4c3b-97ce-a9e367a597b6#/dataprovider/Test%20Data%20Driven%20Descriptor/params/page', schemaUri: 'urn:uuid:098fc000-6568-4665-a274-253a6813937a#/properties/dataprovider/additionalProperties/properties/params/properties/page', attribute: 'type', message: 'Instance is not a required type', details: [ 'string' ] } ]
[ { "settings": [ "master" ], "name": "controllers", "config": [ { "finance": { "baseUrl": "http://finance.yahoo.com", "searchBtnId": "#mnp-search_box" } }, { "yahoo": { "baseUrl": "http://yahoo.com", "searchBtnId": "#p_13838465-p" } } ], "dataprovider" : { "Test Data Driven Descriptor" : { "group" : "func", "params" :{ "page": "$$config.baseUrl$$", "test": "dataDriventest.js", "searchBtnId":"$$config.searchBtnId$$" } } } }, { "settings": [ "environment:preprod" ], "config": [ { "finance": { "baseUrl": "http://mail.yahoo.com", "searchBtnId": "#mnp-search_box" } }, { "yahoo": { "baseUrl": "http://gma.yahoo.com", "searchBtnId": "#p_13838465-p" } } ] } ]
Running this throws the error
] [INFO] DataProvider - [ { uri: 'urn:uuid:5e6ecb36-72a3-4c3b-97ce-a9e367a597b6#/config', schemaUri: 'urn:uuid:098fc000-6568-4665-a274-253a6813937a#/properties/config', attribute: 'type', message: 'Instance is not a required type', details: [ 'object' ] }, { uri: 'urn:uuid:5e6ecb36-72a3-4c3b-97ce-a9e367a597b6#/dataprovider/Test%20Data%20Driven%20Descriptor/params/page', schemaUri: 'urn:uuid:098fc000-6568-4665-a274-253a6813937a#/properties/dataprovider/additionalProperties/properties/params/properties/page', attribute: 'type', message: 'Instance is not a required type', details: [ 'string' ] } ]