codeceptjs / codeceptjs/CodeceptJS

Not able to do file download validation with run-multiple execution

Open
#4,273 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
JavaScript
Stars
4.2k
Forks
757
Avg merge
2d 9h
Merged PRs (30d)
16

Description

#### 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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.