美文网首页
cypress笔记04-构建项目自动化测试目录

cypress笔记04-构建项目自动化测试目录

作者: 天天向上的小M | 来源:发表于2021-02-25 17:49 被阅读0次

1、根目录: E:\Autotesting\DAG_Autotesting

2、测试用例按模块划分,一个模块一个文件夹,E:\Autotesting\DAG_Autotesting\cypress\integration

3、测试用例命名:testcase001-【测试标题】

4、脚本模块化-公共模块,support # 存放 Cypress 自定义命令,/support/commands.js里添加一个login的方法,https://docs.cypress.io/api/cypress-api/custom-commands.html#Parent-Commands

5、

相关文章

网友评论

      本文标题:cypress笔记04-构建项目自动化测试目录

      本文链接:https://www.haomeiwen.com/subject/gkduzktx.html