angularjs-1.2相关内容

当angularjs引发错误时,如何使TestCafe测试失败?

当angularjs抛出错误时,它会被捕获在try/catch中,然后异常处理程序会将其记录为console.error.结果,testcafe不会使测试在任何时候都失败,但是我们希望这被认为是失败的测试.我们尝试遵循此线程并编写以下代码: fixture `Getting Started` .page `http://localhost:${port}/`; const hand ..