Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test execution details are not updated in the json file #17

Open
sathya0206 opened this issue Aug 12, 2024 · 2 comments
Open

Test execution details are not updated in the json file #17

sathya0206 opened this issue Aug 12, 2024 · 2 comments

Comments

@sathya0206
Copy link

sathya0206 commented Aug 12, 2024

I have installed the wdio-ctrf-json-reporter package and tried to create a JSON file to view the report in the Github actions. But unfortunately after successful creation of JSON file, the test execution result are not captured in my local. Also the Allure report has been created successfully for the same execution. I have been using Multi-remote and parallel execution option provided by webdriverio.

JSON file created after execution:
{
"results": {
"tool": {
"name": "webdriverio"
},
"summary": {
"tests": 0,
"passed": 0,
"failed": 0,
"skipped": 0,
"pending": 0,
"other": 0,
"start": 1723454410907,
"stop": 1723454415810
},
"tests": [],
"environment": {
"appName": "Test"
}
}
}

@Ma11hewThomas
Copy link
Collaborator

I can't recreate this issue.

Do your tests run? In instances where the tests fail to run, for example, due to a browser initialization issue, the report would contain no tests, like the one you posted.

Would you mind installing thedefault json reporter and let me know if you get the same outcome.

Thanks

@sathya0206
Copy link
Author

There was no issue in the execution and test were executed successfully. Also as you suggested tried json reporter, it is working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants