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 Results are printing in terminal instead of file #6594

Closed
jbradenclickfunnels opened this issue Oct 6, 2021 · 11 comments · Fixed by #6672
Closed

Test Results are printing in terminal instead of file #6594

jbradenclickfunnels opened this issue Oct 6, 2021 · 11 comments · Fixed by #6672
Labels
FREQUENCY: level 2 TYPE: bug The described behavior is considered as wrong (bug).

Comments

@jbradenclickfunnels
Copy link

What is your Test Scenario?

Just running tests

What is the Current behavior?

Test results are spitting out in the terminal instead of a defined file.

What is the Expected behavior?

Test results to populate in the defined file.

What is your web application and your TestCafe test code?

Your website URL (or attach your complete example):
Your complete test code (or attach your test files):
 
Your complete configuration file (if any):
{
    "assertionTimeout": 5000,
    "browsers": [
        "chrome --window-size=1920,1159"
    ],
    "concurrency": 7,
    "filter": {
        "testGrep": []
    },
    "pageLoadTimeout": 30000,
    "reporter": {
        "name": "spec",
        "output": "artifacts/reports/test_suite_results"
    },
    "screenshots": {
        "path": "artifacts/screenshots",
        "pathPattern": "${TEST}_${DATE}_${TIME}.png",
        "takeOnFails": true
    },
    "selectorTimeout": 15000,
    "skipJsErrors": true,
    "src": "tests",
    "videoEncodingOptions": {
        "aspect": "16:9",
        "framerate": 30
    },
    "videoOptions": {
        "failedOnly": true,
        "pathPattern": "${TEST}_${DATE}_${TIME}.mp4",
        "singleFile": false
    },
    "videoPath": "artifacts/recordings"
}
Your complete test report:

Screenshots:
![Screen Shot 2021-10-06 at 11 01 13 AM](https://user-images.githubusercontent.com/87319403/136240817-f3c5bee8-134d-42d8-83cf-13038798c4e9.png)

Steps to Reproduce:

  1. Go to my website ...
  2. Execute this command...
  3. See the error...

Your Environment details:

  • testcafe version: 1.16.1
  • node.js version: 16.10.0
  • command-line arguments: testcafe
  • browser name and version: chrome 94.0.4606.71
  • platform and version: MacOS 11.6
  • other: All I did was update my testcafe and node. Now test results are spitting out in the terminal instead of the defined file in the testcaferc file.
@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Oct 6, 2021
@jbradenclickfunnels
Copy link
Author

Of note, when I downgraded back to 1.15.2, the reporter saved its information in my file instead of the terminal.

@AlexanderMoiseev
Copy link
Contributor

Hello,

Thank you for your input. We’ve reproduced the issue and need some time to investigate it. We'll get back to you when we have any results.

@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label Oct 7, 2021
@miherlosev miherlosev added TYPE: bug The described behavior is considered as wrong (bug). FREQUENCY: level 1 labels Oct 7, 2021
@onigoetz
Copy link

onigoetz commented Oct 7, 2021

Hello, I have the same problem and it seems it was introduced between 1.16.0 and 1.16.1 as my CI worked fine with version 1.16.0
I hope it helps narrow down the issue more precisely.

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Oct 7, 2021
@miherlosev miherlosev removed the STATE: Need response An issue that requires a response or attention from the team. label Oct 8, 2021
@phil-w
Copy link

phil-w commented Oct 8, 2021

Reverting to 1.16.0 definitely fixes it.

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Oct 8, 2021
@AlexSkorkin AlexSkorkin removed the STATE: Need response An issue that requires a response or attention from the team. label Oct 11, 2021
@gregatp
Copy link

gregatp commented Oct 11, 2021

Hello,

I have the same issue.
It seems that reporter options in configuration file is ignored.
When I passed reporter options in command line, result is saved in file as expected.
testcafe -r spec:artifacts/reports/test_suite_results

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Oct 11, 2021
@miherlosev miherlosev added FREQUENCY: level 2 and removed FREQUENCY: level 1 STATE: Need response An issue that requires a response or attention from the team. labels Oct 11, 2021
@aleks-pro
Copy link
Collaborator

One more inquiry regarding this issue: #6628

@vlads11
Copy link

vlads11 commented Oct 27, 2021

Any updates on this?

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Oct 27, 2021
@Farfurix Farfurix added the STATE: No updates No updates are available at this point. label Oct 29, 2021
@github-actions
Copy link

No updates yet. Once we get any results, we will post them in this thread.

@github-actions github-actions bot removed STATE: Need response An issue that requires a response or attention from the team. STATE: No updates No updates are available at this point. labels Oct 29, 2021
@jbradenclickfunnels
Copy link
Author

Hello,

I noticed that 1.16.1 and 1.17.0.rc1 are both available to download, but neither have the test results fix in them. Shouldn't DevExpress be focused on making sure newer versions aren't still regressed in previously implemented features?

I say this to ask the priority on this fix. I was hoping it would be in 1.16.2, but now that I'm seeing 1.17.0.rc1, I'm getting concerned.

We don't want to stay on older versions due to an issue like this.

Thanks,

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Nov 1, 2021
@miherlosev
Copy link
Collaborator

The current development sprint is filed. We will consider fixing this issue in the next development sprint.

@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label Nov 2, 2021
@aleks-pro aleks-pro linked a pull request Nov 8, 2021 that will close this issue
2 tasks
@aleks-pro
Copy link
Collaborator

We will process this inquiry here: #6665. I will close the current issue as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FREQUENCY: level 2 TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants