Skip to main content

All Questions

Tagged with
0 votes
0 answers
22 views

WebdriverIO + Jasmine: How to make use of grep to filter the spec files

I have a suite folder with 3 spec files configured. In one of the spec file it block has the description "_smoke" but when using the jasmineOpts.grep=_smoke it does not filter the spec file ...
rakesh prabhakar balraj's user avatar
0 votes
1 answer
580 views

WebdriverIO + Jasmine: How to exclude a specific test file when running a suite based on that test file name

We are on latest 8.X WebdriverIO version and latest Jasmine 4.X at this moment, using latest Node 18.X. In my Wdio.conf.js file I have suite: all: [ 'path/test1.js', 'path/test2.js'], test1.js has a ...
Goran's user avatar
  • 21
0 votes
1 answer
2k views

Is there a way to skip all tests in a suite if a certain conditions fail - JavaScript Jasmine?

Is there a way to skip all tests in a suite if a certain conditions fail? I.e) if the webpage is not opening, there is no point in running the rest of the tests, because they all depend on the webpage ...
Suzy's user avatar
  • 251
3 votes
3 answers
2k views

WebdriverIO-Jasmine Async function did not complete within 10000ms

I am using WDIO with Jasmine and Chai. I am getting the below error and I have been trying to find the root cause for more than a day now. Error: Timeout - Async function did not complete within ...
Afsal's user avatar
  • 454
0 votes
2 answers
2k views

Webdriver.IO: How do I run a specific 'it' statement in Jasmine using WDIO

I am trying to pull out a smoke suite from my regression suite written using the Jasmine framework (wdio-jasmine-framework). Is it possible to just add a tag on specific testcases in Jasmine?
user3920295's user avatar