Screenplay @Step annotation of SelectByValue actions reported #value before fix #3394 was applied. That solved the problem partly: no longer is #value shown. But now it shows something like [Ljava.lang.String;@491e2fd.
What did you expect to happen?
The @Step annotation should provide a list of values when the referenced field is an array.
What happened?
Screenplay
@Step
annotation ofSelectByValue
actions reported#value
before fix #3394 was applied. That solved the problem partly: no longer is#value
shown. But now it shows something like[Ljava.lang.String;@491e2fd
.What did you expect to happen?
The
@Step
annotation should provide a list of values when the referenced field is an array.Serenity BDD version
4.2.6
JDK version
OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)
Execution environment
Windows 10 with Chrome 130
How to reproduce the bug.
Same as for #3394 : use a
SelectByValue
and check reported value in report.How can we make it happen?
Work on this myself and propose a PR (with Serenity BDD team guidance)