Questions tagged [wdio-v5]
44 questions
0
votes
1 answer
How to run specific test suite inside onPrepare function in wdio.conf.js
Hello :) I have a problem and was wondering how to deal with it correctly. I have 2 application first one is like admin portal where I need to do initial setup and then rest if automated tests will run on different app that is using this initial…

vertigo448
- 88
- 1
- 7
0
votes
1 answer
how to pass selenium-standalone port configuration from the command line
I created 3 jenkins jobs linked to the same github project, i'm using wdio v5 and cucumber, i want to run each job on a different port this is why i'm trying to pass the port from the jenkins post-build task : execute shell
I tryed this --…

mehdi
- 47
- 3
- 10
0
votes
1 answer
Signing an iOS app in MS app center to work on aws device farm
I'm relatively new to app development, but basically i'm trying to build an ipa file in MS VS app center that will install on the real devices that are on AWS device farm. I'm guessing this should be possible.
The problem I'm getting is that the…

alexrogers
- 1,514
- 1
- 16
- 27
0
votes
1 answer
Trying to scroll using appium + wdio
Have been trying to scroll down the page for ages. I can see the pointer moving on the android emulator device (enabled in the options) but it's not moving the page down so I cannot click the element that is below the fold, it cannot find the…

alexrogers
- 1,514
- 1
- 16
- 27
0
votes
2 answers
webdriverIO+cucumber and i can't trigger multiple parallel tests
i'm using wdio with cucumber frameworh, i have 2 .feature files and two test cases .js, maxInetances 10 ,
when i trigger the test and for a briev moment two blank chrome instances are opened then one of the two is closed and the test begin executing…

mehdi
- 47
- 3
- 10
0
votes
1 answer
do anyone know what this log output mean
i'm trying to run an automated test against the browser with jenkins, i'm using the webdriverIO framework.
when i use the command prompt it works but when triggering the job with jekins i get an error which i think is related to the jenkins execute…

mehdi
- 47
- 3
- 10
0
votes
2 answers
what are the valid values for 'runner' in wdio.conf.js file?
for Webdriver.io what other values can runner take in wdio.conf.js besides runner: 'local'? Any examples?
Thanks

Miha
- 13,223
- 2
- 15
- 16
0
votes
1 answer
.click function passes When step, but isn't actually clicking the element in the browser
I'm currently trying to script some automation tests.
I've hit a block with what should be a simple checkbox click...
The issue is the test run passes the step, but in the browser the "click" hasn't actually occurred.
POM
…

Grubsniff
- 1
- 1
0
votes
1 answer
When I am testing a GUI, an element appears and disappears too quickly
I am testing the GUI using the tools of Webdriver.io and mocha. The tests themselves are written in CoffeeScript. Some interface elements are loaded for a long time, and a rotating loading indicator appears. In order to continue the testing process,…

Paganini
- 178
- 2
- 12
0
votes
1 answer
mobileEmulation capabilities for Firefox in webdriver IO
I am trying to write end to end test cases for mobile web browsers. So I am setting the configuration for google chrome as below and it runs fine.
{
browserName: 'chrome',
'goog:chromeOptions': {
mobileEmulation: { deviceName: 'Apple iPhone…

rubyist
- 3,074
- 8
- 37
- 69
-1
votes
1 answer
not able to assert element value webdriverIO
I am trying to assert one element value by using the following code:
async user_verify_loan_term() {
await chaiExpect(element.getAttribute("value")==="3")
}
The assertion is not working. The expected value should be 30; but the test passes.…

Devesh Joshi
- 9
- 1
- 5
-1
votes
1 answer
Regex to capture patterns using JavaScript
I am new to automation ! I use wdio5 , cucumber and selenium framework with gherkin language . I need to write a step file using JavaScript for the gherkin feature that needs to add these patterns
Examples
52.27
.27
2.27
I hope I asked the question…

Naomy
- 1
- 2
-1
votes
1 answer
IE Error while executing the nodeJS script
The application which I am automating is supportable on IE browser. After writing my script in feature and the step definition ; while I am trying to execute my script the console is throwing below error -
ERROR: Unexpected error launching Internet…

swagatika
- 61
- 1
- 2
- 8
-1
votes
2 answers
How to create Step definition from BDD feature file in visual studio using WDIO
How to create step definition from BDD feature file using WDIO framework
Scenario Outline: Verify the weatherForecast Application whether user can able to lunch the application for mentioned city
When I open the url http://localhost:3000/
…

prasad sangpal
- 11
- 3