I am using "wdio" with "jasmine" test framework and trying to reRun a single test spec following https://webdriver.io/docs/retry.html but retry is not happening. I am running following code using wdio sync runner like this - ./node_modules/wdio wdio.conf It's executing the test only once.
describe("test suite", ()=>{
it("test spec",()=>{
console.log('inside test')
fail('testing retry')
},3)
})
I expect test should execute 1+3 times.but it executes only once. Retry is not happening. Am I missing something obvious here ?