Boris Osipov

Results 100 comments of Boris Osipov

``` const expressionNode = tagParser.parse(browser.options.cucumberOpts.tagExpression); if(expressionNode.evaluate('@spb')) { userCategory = constants.userCategory.spb; } else if(@expressionNode.evaluate('@sk')){ userCategory = constants.userCategory.sk; } ..... ``` smth like this?

@ckurban please when you write "seems it doesn't work", "it seems, it does not read" in issues explain what you expect and what happened then. It is hard to guess...

@ckurban Not sure what is going on but I guess this will help ``` const testData = require('./testData.json'); export.config = { global.envConfig = testData; } ```

no ideas. I can make advice to try cucumber hooks - https://github.com/cucumber/cucumber-js/blob/2.x/docs/support_files/hooks.md#tagged-hooks

@xiscocapllonch please share repo with reproducible example, I will try to help

@xiscocapllonch didn't get what is happened. Workaraund move `browser.reload()` to cucumber hook. E.g see patch https://gist.github.com/BorisOsipov/2755ee4e121d2628f71b6f5750405225

Also if you use `sync:true` you don't need async\await e.g `await browser.waitForExist('#bbcprivacy-continue-button')`

@Xotabu4 probably fixed in https://github.com/codeceptjs/ui/pull/119

resolved in https://github.com/webdriverio/webdriverio/pull/9704