Fail the test if an asset fails to load

前端 未结 0 1698
忘掉有多难
忘掉有多难 2021-01-28 21:50

I have a Nightwatch test that looks as follows:

browser
  .url(MY_URL)
  .assert.visible(MY_SELECTOR)

The test fails due to element not being pre

相关标签:
回答
  • 消灭零回复
提交回复
热议问题