serenity-bdd / serenity-core

Serenity BDD is a test automation library designed to make writing automated acceptance tests easier, and more fun.
http://serenity-bdd.info
Other
722 stars 518 forks source link

Custom fields seems not to be supported anymore #3517

Open aybartsch opened 2 months ago

aybartsch commented 2 months ago

What happened?

According to documentation Custom Fields in Reports I was adding custom fields and sysinfo to serenity.conf but they were never shown up in the reports.


report {
  tagtypes = "feature,story"
  customfields {
    webdriver = ${webdriver.driver}
    headless = ${headless.mode}
    environment = ${environment}
  }
}

sysinfo {
  build = "${env.BUILD_NUMBER}"
  Test Run {
    Run By = "${env.USER}"
    Java Version = "${java.version}"
  }
}

Defining custom fields on command line did not work, too. I guess this feature is not supported anymore. Am I right?

What did you expect to happen?

Custom fields should be available in the serenity reports.

Serenity BDD version

4.0.44

JDK version

11.0.23

Execution environment

OS: macOS 14.5 (23F79) Browser: Chrome 128.0.6613.85 (Official Build) (x86_64)

How to reproduce the bug.

How can we make it happen?

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