codeceptjs / codeceptjs/CodeceptJS
Not able to do file download validation with run-multiple execution
- 主要语言
- JavaScript
- 星标
- 4.2k
- 派生
- 757
- 平均合并
- 2 天 9 小时
- 30 天内合并 PR
- 16
描述
#### What are you trying to achieve?
Validating the file download using handleDownloads and FileSystem helper, like using methods I.amInPath('output/folderName');
with run-multiple execution with multiple browsers like Chrome, Safari, Firefox and Edge, and check whether file is there in the subfolder in the output folder parallel_output_1, parallel_output_2, parallel_output_3 etc
#### What do you get instead?
Not able to use the dynamic path in the method I.amInPath('output/folderName')
Tried this way I.amInPath('output/parallel_output_*') but not working
> Provide console output if related. Use `--verbose` mode for more details.
```bash
# paste output here
```
> Provide test source code if related
```js
// paste test
```
### Details
* CodeceptJS version:
* NodeJS Version:
* Operating System:
* puppeteer || webdriverio || testcafe version (if related)
* Configuration file:
```js
# paste config here
```
贡献指南
调研方向
首先跟踪 run-multiple 的执行入口,以及报告中提到的 handleDownloads 和 FileSystem 辅助方法。使用多个浏览器和 parallel_output 目录重现该情况;当 file-download 验证接受生成的输出路径,而不是要求固定的文件夹名称时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, node.js
- 领域
- testing
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100