selenium-ide: side-runner option --output-directory not working in v4
🐛 Bug Report
–output-directory option does not work on v4
In v3 it worked and it created .json file with test output… now my directory is empty
To Reproduce
--output-directory=results
Expected behavior
.json file with output of the tests and directory results
is not empty
Project file reproducing this issue (highly encouraged)
any… { “id”: “79701be8-6f1b-4fc6-abdf-0ecdb69e66f1”, “version”: “2.0”, “name”: “untitled”, “url”: “http://localhost:8082/”, “tests”: [{ “id”: “af317391-d1c6-448a-9553-8d2a7bbb1f62”, “name”: “Untitled”, “commands”: [{ “id”: “dfb15256-15cd-4852-8b21-e5205be93bb4”, “comment”: “”, “command”: “open”, “target”: “/app”, “targets”: [], “value”: “” }] }], “suites”: [{ “id”: “9cdd7442-0870-4d6a-939c-ba2abfb70c61”, “name”: “Default Suite”, “persistSession”: false, “parallel”: false, “timeout”: 300, “tests”: [“af317391-d1c6-448a-9553-8d2a7bbb1f62”] }], “urls”: [“http://localhost:8080/”, “http://localhost:8082/”], “plugins”: [] }
Environment
OS: Windows 10 Pro Selenium SIDE Runner Version: 4.0.0-alpha-15 Node version: 16.14 Browser: Google Chrome Browser Version: Chrome 105.0.5195.127 (64-bit)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 25 (11 by maintainers)
Commits related to this issue
- Update bin.ts fixing issue from #1555 — committed to zielik909/selenium-ide by zielik909 a year ago
“-o results” fails on version 4.0.0-alpha.40, it’s not creating the log file before trying to open it.
Error: ENOENT: no such file or directory, open ‘C:\Workspace\Selenium\results\results-2023-03-04T01:08:39.664Z.json’ at Object.openSync (node:fs:600:3) at Object.writeFileSync (node:fs:2221:35)