Intellij idea IntelliJIDEA正在向我展示;从waitForDisplayed返回的承诺被忽略”;即使我使用TestRunner模式的@wdio/sync包
我在运行同步的Intellij idea IntelliJIDEA正在向我展示;从waitForDisplayed返回的承诺被忽略”;即使我使用TestRunner模式的@wdio/sync包,intellij-idea,webdriver-io,Intellij Idea,Webdriver Io,我在运行同步的TestRunner模式下使用webdriverIO v7。 IntelliJIDEA向我展示了“从waitForDisplayed返回的承诺被忽略”,即使我使用了TestRunner模式的@wdio/sync包。 我的代码库中有以下内容: this.myAccountSectionElement.waitForDisplayed(); 即使我使用了TestRunner模式的@wdio/sync包。 我希望IDE不会显示这些消息,因为我没有使用异步模式。我认为这也是因为这句话
TestRunner
模式下使用webdriverIO v7。IntelliJIDEA向我展示了
“从waitForDisplayed返回的承诺被忽略”
,即使我使用了TestRunner
模式的@wdio/sync
包。我的代码库中有以下内容:
this.myAccountSectionElement.waitForDisplayed();
即使我使用了TestRunner
模式的@wdio/sync
包。我希望IDE不会显示这些消息,因为我没有使用异步模式。我认为这也是因为这句话在 有人知道如何改进吗?(不再有这些警告)
"The package will be automatically detected by the framework and the environment properly set up to run synchronous."