WebDriverio E2E测试 - 浏览器的替代方案。pause()
只是为经验丰富的E2E测试的人提出这个问题。
我正在尝试找出一些替代方法,以代替使用browser.pause(xxx)
进行测试。
我们有一个例子是:
我尝试添加waituntildisplayed
,但它不起作用,显然我们还有更多的事情发生,所以我希望有人可以对此提供一些很好的见解。澄清我的想法。
谢谢!
just raising this question for more experienced people with E2E tests.
I'm trying to figure out some alternatives to use in place of using browser.pause(xxx)
for our tests.
One example we have is this:
I've tried adding a waitUntilDisplayed
but it's not working, and obviously we have more where this happen, so I was hoping someone could give some insights of some good documentation about that to clarify my mind.
Thanks guys!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用
Waitfordisplayed()
而不是waituntildisplayed()
。像这样
https://webveriver.io/docs/docs/api/api/epi/element/element/waitfordisplayed
Try using
waitForDisplayed()
instead ofwaitUntilDisplayed()
.Like this
https://webdriver.io/docs/api/element/waitForDisplayed