Questions tagged [wdio-v5]

44 questions
1
vote
3 answers

wdio+jasmine reRun/retry single test spec it('',()=>{},3) doesn't work

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…
Ankur A
  • 11
  • 1
1
vote
2 answers

Master report is not generating for all suites with HTML REPORTER (wdio5)

I have setting up a configuration in 'wdio.conf.js' for "rpii html reporter". But its not generating master report for all suites. const { ReportAggregator, HtmlReporter } = require('@rpii/wdio-html-reporter'); exports.config = { reporters:…
vinil narayan
  • 31
  • 1
  • 5
0
votes
1 answer

How to disable chrome permission popup in selenium driver

Chrome version 89 and set up below setting and still not dismissing the permission popup which blocks the rest of test cases. Any idea or workaround? capabilities: [{ // maxInstances can get overwritten per capability. So if you have…
newBike
  • 14,385
  • 29
  • 109
  • 192
0
votes
2 answers

Normalise style attribute in javascript

In IE11 when we block.getAttribute('style') we return border-bottom-width: 1pt; border-bottom-style: dotted; border-bottom-color: rgb(10, 49, 132) But in chrome it returns border-bottom: 1pt dotted rgb(10, 49, 132) How do I get the IE11 to return…
0
votes
1 answer

report portal status interrupted after long wait in tests

We use report portal to report automatic tests from WDIO. I have noticed, that after long waits in the tests (waiting for a field to be updated in the database, before continuing with the test for example) report portal stops reporting and the test…
Limbo
  • 623
  • 8
  • 24
0
votes
0 answers

WDIO - isDisplayed() method discrepencies in local & remote machines

cont elements = "list".filter(ele=> ele.isDisplayed()); Problem statement: I am trying to get the list of displayed elements in WDIO, but currently its returning all elements in the list. Note: Filter works fine in local machine, but not working in…
0
votes
1 answer

Way to implement resetApp for React Native with wdio-cli/? - webdriverio

Hellow there! I am using the wdio/cli so I created the wdio.conf.js with this command, then I start doing the test. But the issues is when have more than one test in a single or multiple test files. In the test file I have something like this: …
robto09
  • 193
  • 2
  • 12
0
votes
1 answer

Global variable that survives browser closed [wdio web driver io]

I have several suites and in each one some spec files. What I noticed is that after wdio runs all tests in any spec file, it closes the browser and opens a fresh instance of the browser. Even the local storage is removed in this case. So I have a…
Confront
  • 488
  • 3
  • 7
0
votes
1 answer

Module not found error in Jenkins while trying to run wdio from docker image

I am using webdriverio . My package.json is having all my dependency. I have created a docker image for my project throught Jenkins using a docker file. Now I am trying run the scripts from Jenkins. It is failing saying module not found. For example…
0
votes
1 answer

How to set 'AutomationExtension' as false in wdio.conf.js file in webdriverio?

I am new to WebdriverIO. I want to know how to set 'AutomationExtension' as false in wdio.conf.js file in webdriverio.
Arun Sivaraj
  • 93
  • 1
  • 8
0
votes
1 answer

Not able to run wdio openfin based UI automation with wdio v6

What is the latest npm package available for wdio-openfin-service? I tried to install, "wdio-openfin-service": "^8.0.1",it gave me error, that it does not exist. Reason to install 8.0.1 : https://github.com/wenjunche/wdio-openfin-service npm ERR!…
QualityMatters
  • 895
  • 11
  • 31
0
votes
0 answers

WDIO is entering each characters on login screen very slowly when opened in IE 11

With the use of WDIO, I am trying to automate the login screen of an application developed in ReactJs & Node.js. It takes a pause of 4-5 seconds after entering each character. Because of this, a timeout happens before the "Sign In" button is…
jigs
  • 1
  • 1
0
votes
1 answer

Dependecy wdio-cucumber-framework is not getting installed when I use node version 12. Its installing till node 10

Dependecy wdio-cucumber-framework is not getting installed when I use node version 12. Its installing till node 10 Throwing error "Failed at the fibers@2.0.2 install script"
jramapurath
  • 221
  • 1
  • 8
0
votes
1 answer

How to add timeline report in webdriver.io

How can I add timeline report in webdriver.io project. Sample report screenshot
Bharath Kumar S
  • 1,410
  • 2
  • 10
  • 29
0
votes
1 answer

File upload with webdriverio v5 in msedge

I am running an automation test in sauceLabs using webdriverio v5. I want to run a test which is uploading a file to msedge. Below is the sample code for the same. const path = require('path'); const filePath = path.join(__dirname,…