Skip to main content

All Questions

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
1 answer
1k views

How can I access the file name a test runs in from inside the afterTest hook in a wdio config file?

I am trying to access the file name each test runs in from the afterTest hook in my wdio config file. However, none of the parameters provided to the hook includes the file name. I tried maybe getting ...
IAmWearingAPinkShirt's user avatar
2 votes
2 answers
407 views

Increment the value in a TextBox using the Arrow Inside the Box

In an automation code, I want to fill the text-box with a number greater than 0. setvalue() doesn't work. A user would have to click on the up arrow (see picture) to make the text-box editable. How ...
RSSregex's user avatar
  • 169