I followed this documentation to generate test results in HTML format in my cucumber framework. But here, I'm always getting an issue that Error:: No file(s) found at /home/circleci/project/logs/cucumber
after getting final hash of the report. I'm using in my config.yml
as:
mkdir -p ~/cucumber
bundle exec cucumber --format pretty --format json --out ~/cucumber/tests.cucumber
when: always
- store_test_results:
path: ~/cucumber
- store_artifacts:
path: ~/cucumber
And the error which I'm facing is mentioned below in the attached screenshot.
If anyone knows how to generate html report after getting passed of test cases please let me know or help me to resolve the issue.