Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 01:35
    christian-bromann labeled #7952
  • 01:35
    christian-bromann unlabeled #7952
  • 01:35
    christian-bromann commented #7952
  • 01:34
    christian-bromann commented #7580
  • 01:33
    christian-bromann commented #7580
  • Jan 28 21:27
    jlipps commented #7580
  • Jan 28 20:28
    OtherwiseJunk edited #7952
  • Jan 28 20:27
    OtherwiseJunk edited #7952
  • Jan 28 20:27
    OtherwiseJunk edited #7952
  • Jan 28 20:26
    OtherwiseJunk edited #7952
  • Jan 28 20:26
    OtherwiseJunk edited #7952
  • Jan 28 20:26
    OtherwiseJunk edited #7952
  • Jan 28 20:26
    OtherwiseJunk labeled #7952
  • Jan 28 20:26
    OtherwiseJunk opened #7952
  • Jan 28 20:26
    OtherwiseJunk labeled #7952
  • Jan 28 15:49
    christian-bromann commented #5445
  • Jan 28 11:25
    cruzdense commented #5458
  • Jan 28 11:24
    cruzdense commented #5445
  • Jan 28 08:47
    christian-bromann commented #7683
  • Jan 28 03:47
    eldrickb commented #7683
Daniël Verburgh
@danielkroon
@christian-bromann thank you!
Krishna Kumar Singh
@kwishna
Default Scripts For Cucumber-Typescript Downloaded On Performing 'wdio init' Is Not Running For Me. Please check: https://stackoverflow.com/q/67186996/9544909
ttwu
@ttwu2019
Hi,Who knows this problem?
Ghost
@ghost~607dccd16da03739847a82b3
Hello. I need to execute tests with chrome extension in browser. In java I can do it like this:
ChromeOptions options = new ChromeOptions();
options.addExtensions(new File("app.crx"));
What should I do for it in js and webdriverIO?
ttwu
@ttwu2019
ERROR @wdio/local-runner: Failed launching test session: Error: Couldn't initialise "@wdio/cucumber-framework".
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/formatter/helpers/event_data_collector' is not defined by "exports" in /Users/git/Desktop/192.168.5.66/eviauto_android/node_modules/@cucumber/cucumber/package.json
Christian Bromann
@christian-bromann
@ttwu2019 it seems there is an error in an external dependency
We are working on a fix
Krishna Kumar Singh
@kwishna
@christian-bromann Just 1 Day Back, Everything Was Working Fine. When I Checked, I Came To Conclusion That It Is Possibly Happening Because @cucumber/cucumber v7.2.0, Which Was Released Yesterday. On @cucumber/cucumber v7.1.0, The Same Code Is Working Fine.
Christian Bromann
@christian-bromann
Yes excactly. .. we will from now on pin the cucumber versions .. this has happened for the second time now
Federico Francia
@federicoitaly:matrix.org
[m]
Hi, after upgrading from wdio6 to wdio7 I get this error: ERROR @wdio/local-runner: Failed launching test session: Error: Couldn't initialise "@wdio/cucumber-framework".
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/formatter/helpers/event_data_collector' is not defined by "exports" in /Users/federicof/Documents/Automation/Mobile/WMobileBDD/node_modules/@cucumber/cucumber/package.json
@christian-bromann:
Christian Bromann
@christian-bromann
@federicoitaly:matrix.org see the post above, I will make a release with a fix in a second
Federico Francia
@federicoitaly:matrix.org
[m]
@christian-bromann: thank you, for now I downgrade to v7.1.0
Christian Bromann
@christian-bromann
I believe this doesn’t help
the release pipeline is already triggered
so it is a matter of minutes
release it out actually
Federico Francia
@federicoitaly:matrix.org
[m]
notarget No matching version found for webdriverio@7.5.1.
Erwin Heitzman
@erwinheitzman
@federicoitaly:matrix.org it's the wdio-cucumber-framework package that was updated
@wdio/cucumber-framework is the actual package name
Federico Francia
@federicoitaly:matrix.org
[m]
@er
@erwinheitzman: thanks, now I have these: "@babel/cli": "^7.12.8",
"@babel/preset-env": "^7.13.15",
"@cucumber/cucumber": "^7.1.0",
"@slack/web-api": "^6.1.0",
"@wdio/appium-service": "^7.3.1",
"@wdio/browserstack-service": "^7.3.1",
"@wdio/cli": "^7.3.1",
"@wdio/config": "^7.3.1",
"@wdio/cucumber-framework": "^7.3.1",
"@wdio/local-runner": "^7.3.1",
"@wdio/sauce-service": "^7.3.1",
"@wdio/spec-reporter": "^7.3.1",
"@wdio/sync": "^7.3.1",
Erwin Heitzman
@erwinheitzman
@federicoitaly:matrix.org @wdio/cucumber-framework was updated to v7.5.1
Federico Francia
@federicoitaly:matrix.org
[m]
ok
i get two warnings: npm i --legacy-peer-deps
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
Federico Francia
@federicoitaly:matrix.org
[m]
locally it works, from Jenkins I get: + npm i --legacy-peer-deps
npm ERR! code ETARGET
npm ERR! notarget No matching version found for webdriverio@7.5.1.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
Erwin Heitzman
@erwinheitzman
No matching version found for webdriverio@7.5.1. I refer to my previous answer
Federico Francia
@federicoitaly:matrix.org
[m]
yes, locally it works, from jenkins it fails
"dependencies": {
"@babel/cli": "^7.12.8",
"@babel/preset-env": "^7.13.15",
"@cucumber/cucumber": "^7.1.0",
"@slack/web-api": "^6.1.0",
"@wdio/appium-service": "^7.3.1",
"@wdio/browserstack-service": "^7.3.1",
"@wdio/cli": "^7.3.1",
"@wdio/config": "^7.3.1",
"@wdio/cucumber-framework": "^7.5.1",
"@wdio/local-runner": "^7.3.1",
"@wdio/sauce-service": "^7.3.1",
"@wdio/spec-reporter": "^7.3.1",
"@wdio/sync": "^7.3.1",
"colornames": "^1.1.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-wdio": "^7.0.0",
"express": "^4.17.1",
"fs-extra": "^9.1.0",
"gherkin": "^5.1.0",
"jsonwebtoken": "^8.5.1",
"multiple-cucumber-html-reporter": "^1.18.0",
"rimraf": "^3.0.2",
"shelljs": "^0.8.4",
"sync-fetch": "^0.3.0",
"wdio-cucumberjs-json-reporter": "^2.0.2",
"webdriverio": "^7.3.1",
"yargs": "^16.1.1"
},
Christian Bromann
@christian-bromann
@federicoitaly:matrix.org you might want to clean up your package-lock.json
Federico Francia
@federicoitaly:matrix.org
[m]
yes I did it locally, and it works
from jenkins i get the error, strange
Christian Bromann
@christian-bromann
you need to check in your updated package-lock
your jenkins probably still pulls the old version
Federico Francia
@federicoitaly:matrix.org
[m]
it is in gitignore
Christian Bromann
@christian-bromann
maybe you can find in the logs which version is downloaded
Erwin Heitzman
@erwinheitzman
you shouldn't ignore your package-lock.json
it should be committed
Federico Francia
@federicoitaly:matrix.org
[m]
@erwinheitzman: ok, thanks
is it a new best practice from npm v7?
Daniel Klotz
@d-klotz

Hi Guys,

I'm trying to use spectrum (uses webdriver.io) and I'm not being able to click on a checkbox
I'm doing:

const checkbox = await app.client.findElement('css selector', '.checkbox');
app.client.elementClick(checkbox);

But someone this findElement returns a json like {
'element-6066-11e4-a52e-4f735466cecf': 'd9ee3334-ef66-4ae7-a308-d249b1a95f24'
}
Which is not accepted by the click method, do you know why?

Erwin Heitzman
@erwinheitzman
it's the whole idea behind the package-lock.json file, ever since it got introduced years ago @federicoitaly:matrix.org
@d-klotz you might have to click the label that is assigned to the checkbox as it depends on what element is listening for the click event
4 replies
not sure about the return value
Federico Francia
@federicoitaly:matrix.org
[m]
@erwinheitzman: I thought package-lock.json has to be gitignored since it will be created by npm install, I mean from Jenkins CI/CD
Erwin Heitzman
@erwinheitzman
nope
read the documentation I shared @federicoitaly:matrix.org
Daniël Verburgh
@danielkroon
Hi all! Can anyone tell me how the https://webdriver.io/docs/api/browser/throttle/ works? When I add the command in my it block. It looks like it only slows down the speed for the command below the browser.throttle command, but not for the rest of the commands in that same it block. I expect to slow the whole it block down. Not just 1 single line.