文件名称:webdriverio_mocha_chai_tests
文件大小:1.43MB
文件格式:ZIP
更新时间:2024-05-18 04:52:46
JavaScript
安装NodeJ(测试套件需要运行Node.js v8 +) 全局安装webdriverio $ npm install -g webdriverio 安装依赖项 $ npm安装 运行测试 $ npm运行测试 全局安装Allure命令行工具 $ npm install -g魅力命令行 运行魅力以生成报告 $ allure生成allure-results --clean -o allure-report 在创建的魅力报告文件夹中打开index.html文件 成功概述屏幕 成功套房屏幕 屏幕截图失败的情况
【文件预览】:
webdriverio_mocha_chai_tests-master
----pages()
--------page.js(246B)
--------loginPage.js(1KB)
----specs()
--------test-data()
--------login.spec.js(2KB)
----readme_screenshots()
--------Error.png(187KB)
--------Success_Overview.png(103KB)
--------Success_Suites.png(167KB)
----README.md(726B)
----wdio.conf.js(2KB)
----.gitignore(159B)
----errorShots()
--------Error Login user should login with valid credentials through http request1532810725417.png(187KB)
--------Error Login user should not be logged without properly stored cookie1532808643649.png(187KB)
--------Error Login user should login with valid credentials through http request1532810287366.png(187KB)
--------Error Login should login with valid credentials1532808638228.png(187KB)
--------Error Login should login with valid credentials1532807869448.png(180KB)
--------Error Login user should login with valid credentials through http request1532808641477.png(187KB)
----package.json(581B)