Ricardo Barbosa

Results 31 comments of Ricardo Barbosa

Take a simple case of saving a screenshot on error. You use the webdriverIO's `saveScreenshot` command. Now you want this screenshot to be part of your reporting pipeline. Suppose you...

> > Something like `browser.addAttachment` and `browser.getAttachments` > > I am not a big fan of the idea of adding these commands to the `browser` instance given they only use...

`beforeScenario` hook has a `world` parameter with properties `gherkinDocument` and `pickle` that should have the tags for the entire feature and the scenario in question, respectively. ```js beforeScenario({ gherkinDocument, pickle...

Looking at the docs on the hooks, it seems they don't make it clear @christian-bromann . Maybe we could keep it open and enhance them?

> Yeah I am using latest webdriverio. `world.gherkinDocument` and `world.pickle` arguments are undefined. If you look at this, you'll see the `gherkinDocument` in the context parameter ![image](https://user-images.githubusercontent.com/3788982/142903543-9135c543-64c4-44cf-abba-dd687a713ac0.png) What's happening is...

Do you think you can point me in the right direction? What might be an workaround for someone dealing with this problem? What wrapper function would I import and how...

I can consistently replicate the issue when upgrading from Appium 2.0 beta 19 to beta 20. Here's a diff of those two versions. https://github.com/appium/appium/compare/appium%402.0.0-beta.19...appium%402.0.0-beta.20 Even with beta 19, like @AntonKostenko...

Correct me if I'm wrong but I suspect that the upgrade to the Cucumber packages is not enough. Seems like webdriverIO is using the [CucumberRuntime](https://github.com/cucumber/cucumber-js/blob/main/src/runtime/index.ts) [here](https://github.com/webdriverio/webdriverio/blob/5e5cd9e8eb563fdcab17445a237a4115416a0732/packages/wdio-cucumber-framework/src/index.ts#L154) instead of the [CLI](https://github.com/cucumber/cucumber-js/blob/main/src/cli/index.ts),...

@erwinheitzman thanks for the feedback on this, glad to be in the community Well, this is something not crucial and just a "nice to have". I understand your point and...

great to hear @erwinheitzman blessing much appreciated I had a look at the code, building a chain-able promise array requires that you specify a selector for the elements. As in...