Browserstack 服务/webdriverIO/Automate/Session Name 在测试过程中发生变化 [英] Browserstack service / webdriverIO / Automate / Session Name is changing during the test
问题描述
自从带有 browserstack-service 6.4.7 的 webdriverIO 的最新版本以来,我在 Browserstack 上的会话名称面临一些问题:持续集成正在向 Browserstack 发送一个名称(带有作业唯一 ID)作为会话"名称"在测试过程中它发生了变化......
(我可以在 Browserstack 测试开始时看到名称是正确的)
我很难在测试中找到自己的方法,因为它们都有相同的名称,即套件或功能名称
你遇到过这样的问题吗?
非常感谢您的帮助!
我将 WebdriverIO 版本 7 与 Mocha 框架和 BrowserStack 一起使用.
根据 https://webdriver.io/docs/browserstack-service>
在您的配置文件中添加以下内容:
服务:[['浏览器堆栈',{browserstackLocal: false,//根据您的要求设置此标志}],],
这会自动将会话的名称设置为测试套件的名称.
since the lasts versions of webdriverIO with browserstack-service 6.4.7, I am facing some issues with the session name on Browserstack : The Continuous integration is sending a name (with a job unique ID) to Browserstack as a "Session Name" and during the test it changed...
(I can see that the name is the right one at the beginning of the test on Browserstack)
it's very difficult for me to find my way around in the tests as they all have the same name which is the suites or Feature name
have you encountered this kind of problem?
thank you very much for any help !
I am using the WebdriverIO version 7 with Mocha framework and BrowserStack.
As per https://webdriver.io/docs/browserstack-service
Add following in your configuration file:
services: [
['browserstack', {
browserstackLocal: false, // Set this flag as per your requirement
}],
],
This will automatically set the session's name to the test suite's name.
这篇关于Browserstack 服务/webdriverIO/Automate/Session Name 在测试过程中发生变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!