arrow
arrow copied to clipboard
Test doesn't fail if looking for invalid css , if the previous test in scenario passed
If a test executes before a locator controller, even if we have an invalid locator, the test passes if the previous test passed
[ { "settings": [ "master" ],
"name": "controllers",
"config": {
"baseUrl": "http://finance.yahoo.com"
},
"comment":"Tests for finance",
"dataprovider" : {
"Test YHOO Ticker" : {
"group" : "func",
"comment":"Ticker test",
"params" :{
"scenario": [
{
"comment":"Load finance page",
"page": "$$config.baseUrl$$",
"test":"test-dummy.js"
},
{
"comment":"Type yhoo in #txtquotes",
"controller": "locator",
"params": {
"value": "#invalid",
"text": "yhoo\n"
}
},
{
"comment":"Verify if the quote symbol matches",
"test": "test-quote.js",
"quote": "Yahoo! Inc. (YHOO)"
}
]
}
}
}
},
{
"settings": [ "environment:development" ]
}
]