javascript - 如何将 AVA 和 Cypress 测试链接在一起以进行完整的端到端测试?
问题描述
我有一个 AVA 测试,它进行了一堆后端设置,并在测试结束时设置了一个值,我需要为我的前端测试设置一个值,这些值是用 Cypress 编写的。
1. How can I share that variable between the two tests (they are in separate files)
2. How can I invoke them sequentially, so that I only have to run one command (can I invoke the Cypress tests at the end of my AVA test? Maybe a powershell script?)
谢谢您的帮助!
解决方案
推荐阅读
- c# - LINQ中的内部连接后如何将相同的结果组合成一行
- python - 在游戏设计中,我们是否必须在每一帧中重新绘制整个窗口?
- django - Docker:从 Web 容器内部执行 django 迁移到 db 容器
- python - Visual Studio 16.3.4 + Python Tools 16.3 交互式窗口中断调试
- php - 如何在 laravel 6 中安装 brozot/Laravel-FCM?
- sql - SQL SERVER:当数据包含空值时如何选择数据
- authentication - 身份验证和授权 - HTTP 请求正文中的令牌
- ios - 蓝牙音箱、蓝牙耳机属于低功耗蓝牙(BLE)?
- mongodb - 是否有可以连接深层子列表的查询?
- python - 为什么当 alpha 值中的分母幂提高到 13 或更高时,Ridge 模型拟合会显示警告?