我是cypress的新手,并使用Visual Studio Code作为Cypress的IDE。我已经编写了一个示例测试来启动一个如下所示的网页,并且该网页已经写在Cypress Integration文件夹下。
let appDelegate:AppDelegate = UIApplication.shared.delegate as! AppDelegate
如果尝试使用Visual Studio代码终端运行此脚本,则
/// <reference types="cypress"/>
it('Page should navigate to todoMVC',() =>{
cy.visit('http://todomvc-app-for-testing.surge.sh/')
})
从Integration文件夹中。赛普拉斯窗口出现后,但新创建的xx.spec.js文件将不会显示,也不会出现错误。任何帮助将不胜感激。