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

results.csv is no longer generated? #3264

Closed
scormaq opened this issue Sep 18, 2023 · 8 comments
Closed

results.csv is no longer generated? #3264

scormaq opened this issue Sep 18, 2023 · 8 comments

Comments

@scormaq
Copy link
Contributor

scormaq commented Sep 18, 2023

What happened?

I use file results.csv, generated after aggregate task, for some post-regression analysis. After updating Serenity to latest version 4.0.12 there no longer file target/site/serenity/results.csv generated.

What did you expect to happen?

I expect to have file results.csv with test report in CSV format after generating full HTML report. File contains test results per test case

Serenity BDD version

4.0.12

JDK version

Java 18

Execution environment

Windows 10

How to reproduce the bug.

Having gradle-java project run tests and then execute task aggregate to generate full report, then check target/site/serenity for file presence.

How can we make it happen?

Add it to the Serenity BDD backlog and wait for a volunteer to pick it up

@wakaleo
Copy link
Member

wakaleo commented Sep 18, 2023

Set the serenity.generate.csv.reports property to true.

@scormaq
Copy link
Contributor Author

scormaq commented Sep 18, 2023

I rechecked with serenity.generate.csv.reports = true in serenity.properties, but file is still not generated. Also, comment for this property says that it should be set to true by default.

@wakaleo
Copy link
Member

wakaleo commented Sep 18, 2023

image

@scormaq
Copy link
Contributor Author

scormaq commented Sep 18, 2023

Interesting, it may be a windows-specific issue. I still can't get it generated on my Windows laptop, but I see it is generated on Linux runner on CI.

@wakaleo
Copy link
Member

wakaleo commented Sep 18, 2023

Maybe dig into the code and take a look. All that has changed is the default value for that flag.

@scormaq
Copy link
Contributor Author

scormaq commented Sep 26, 2023

Maybe it was some nasty combo of different factor, but I no longer can reproduce it on windows (mentioned property is set explicitly now ), therefore closing this issue

@scormaq scormaq closed this as completed Sep 26, 2023
@wagner-deoliveira
Copy link

wagner-deoliveira commented Nov 27, 2023

Hi. I'm facing the same issue and added the following lines to my serenity.conf file:

webdriver {
  driver = "chrome"
  capabilities {
    browserVersion = "117.0"
  	"selenoid:options":{"enableVNC":true}
  	"goog:chromeOptions" {args = ["start-maximized", "window-size=1920,1080", "disable-dev-shm-usage", "remote-allow-origins=*"]}
  }
}

serenity {
	generate.csv.reports = true	
}

It doesn't seem to work though. Am I missing something?

@wagner-deoliveira
Copy link

Hi. I'm facing the same issue and added the following lines to my serenity.conf file:

webdriver {
  driver = "chrome"
  capabilities {
    browserVersion = "117.0"
  	"selenoid:options":{"enableVNC":true}
  	"goog:chromeOptions" {args = ["start-maximized", "window-size=1920,1080", "disable-dev-shm-usage", "remote-allow-origins=*"]}
  }
}

serenity {
	generate.csv.reports = true	
}

It doesn't seem to work though. Am I missing something?

I've managed to make it work adding it to serenity.properties instead of serenity.conf 👍

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

3 participants