09 2022 档案

cypress无头模式运行,生成测试报告
摘要:1.内置测试报告 npx cypress run --reporter=spec 2.指定运行用例 npx cypress run --reporter=spec --spec cypress\integration\cypress-study\web\page\should_demo.spec.j 阅读全文

posted @ 2022-09-19 06:37 sunny_2016 阅读(241) 评论(0) 推荐(0) 编辑

cypress 执行启动npm一直停在"fetchMetadata: sill resolveWithNewModule"的问题
摘要:查看cypress的缓存位置 PS D:\ema_cypress> npx cypress cache path C:\Users\antony\AppData\Local\Cypress\Cache node运行js文件时报错 node 01.js 直接找到C:\Users\antony\AppD 阅读全文

posted @ 2022-09-18 10:11 sunny_2016 阅读(709) 评论(0) 推荐(0) 编辑

nodejs本地搭建https服务
摘要:1.安装mkert 需要超级管理员权限安装 @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "ie 阅读全文

posted @ 2022-09-18 10:07 sunny_2016 阅读(258) 评论(0) 推荐(0) 编辑

npm package.json的版本控制
摘要:\1. ~ + 版本号:例如 "tslint": "~5.11.0", 表示安装5.11.x的最新版本(不低于5.11.0), 但是不安装5.12.x,也就是说安装时不会改变大版本号和次要版本号; \2. ^ + 版本号:例如 "tslint": "5.11.0", 表示安装5.11.0及以上的版本 阅读全文

posted @ 2022-09-09 07:06 sunny_2016 阅读(1345) 评论(0) 推荐(1) 编辑

cypress安装方案大全
摘要:cypress安装方案一: cypress 环境搭建下载nodejs并安装 http://nodejs.cn/download/检查node安装情况: node -v 查看npm安装情况: npm -v创建项目cypress_dem 执行命令初始化项目: npm init项目目录下安装指定版本的cy 阅读全文

posted @ 2022-09-08 14:29 sunny_2016 阅读(162) 评论(0) 推荐(0) 编辑

cypress安装时npm报错:npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy
摘要:处理方法一: 更新 npm 版本:npm install -g npm 使用淘宝镜像重新安装依赖:npm install --registry=https://registry.npm.taobao.org npm install -g cnpm --registry=https://registr 阅读全文

posted @ 2022-09-07 08:01 sunny_2016 阅读(1142) 评论(0) 推荐(0) 编辑

cypress.json文件配置
摘要:{ "baseUrl": "https://xxx.com.cn/", "defaultCommandTimeout": 10000, "execTimeout": 80000, "taskTimeout": 80000, "pageLoadTimeoutpage": 80000, "requesT 阅读全文

posted @ 2022-09-07 07:54 sunny_2016 阅读(45) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示