nightwatch-custom-commands-assertions:Nightwatch.js自定义命令和断言

时间:2024-02-19 23:58:22
【文件属性】:

文件名称:nightwatch-custom-commands-assertions:Nightwatch.js自定义命令和断言

文件大小:12.22MB

文件格式:ZIP

更新时间:2024-02-19 23:58:22

javascript gulp babel selenium assertions

Nightwatch自定义命令和断言 这些是我在使用nightwatch.js和Selenium进行测试时使用的一些命令和断言。 如何使用这些东西? 您可以使用npm安装它: npm install nightwatch-custom-commands-assertions --save-dev 然后,打开你的编辑器nightwatch.json文件(或),并编辑custom_commands_path和custom_assertions_path键,以便它们看起来是这样的: { ... //your config " custom_commands_path " : " node_modules/nightwatch-custom-commands-assertions/js/commands " , " custom_assertions_path " : " node_modules/nightwatch-custom-commands-assertions/js/assertions " , ... //your config again } 现在,您


【文件预览】:
nightwatch-custom-commands-assertions-master
----.travis.yml(332B)
----docs()
--------jqueryElementPresent.md(470B)
--------waitForText.md(1KB)
--------waitForTitle.md(976B)
--------jqueryElement.md(592B)
--------elementHasChildren.md(702B)
--------setSelect2Value.md(496B)
--------setSelect2Data.md(516B)
--------urlMatch.md(466B)
--------jqueryElementNotPresent.md(491B)
--------waitForJqueryAjaxRequest.md(716B)
--------setValueAndTrigger.md(543B)
--------elementHasNoChildren.md(445B)
--------saveElementScreenshot.md(796B)
--------elementHasChildrenCount.md(796B)
--------waitForJqueryElement.md(962B)
--------attributeMatches.md(717B)
--------waitForAttribute.md(1KB)
--------jqueryClick.md(458B)
--------shell.md(266B)
--------waitForDocumentLoaded.md(707B)
----package.json(1KB)
----gulpfile.js(2KB)
----tests()
--------page_objects()
--------nightwatch.conf.js(1KB)
--------html()
--------mockserver-netty-3.9.17-jar-with-dependencies.jar(13.82MB)
--------setMocks.js(2KB)
--------runTests.js(7KB)
----js()
--------commands()
--------assertions()
----Readme.md(2KB)
----LICENSE(1KB)
----es6()
--------getElementFromSelector.js(1KB)
--------commands()
--------assertions()
--------getMultipleSelectors.js(687B)
----runTests.sh(928B)
----.gitignore(63B)
----Contributing.md(468B)
----.jshintrc(19B)
----yarn.lock(116KB)

网友评论