我的项目从独立到Web,我们的新WebSite正在AngularJS中创建,因此Protractor是为Test Automation选择的工具.
我想将Typescript与Jasmine和Node的依赖项集成,以便我不会遇到诸如此类的错误
cannot find name Describe
cannot find name it
cannot find name Expect
Run Code Online (Sandbox Code Playgroud)
任何人都可以告诉我如何添加Jasmine和Protractor依赖项,这样当我点击ctrl + space时,我将获得所有可用选项.
我已经安装了Typescript.我正在获得量角器依赖,如浏览器,元素,等等.
我该怎么做才能描述,它,期待(茉莉花的东西)?
我试过这个:
browser.actions().sendKeys(protractor.Key.ESCAPE).perform();
Run Code Online (Sandbox Code Playgroud)
但没有任何反应.
我正在使用SPACE Key,这很好用.
browser.actions().sendKeys(protractor.Key.SPACE).perform();
Run Code Online (Sandbox Code Playgroud)