java.lang.ClassCastException: [Ljava.lang.Enum; cannot be cast to [Lcom.examples.tests.MainTest$Params;
at com.examples.tests.MainTest$AjcClosure1.run(MainTest.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at io.qameta.allure.aspects.StepsAspects.step(StepsAspects.java:46)
at com.examples.tests.MainTest.paramSteps(MainTest.java:81)
@Test
public void testWithParams() {
paramSteps(FirstParam.PARAM_1, SecondParam.PARAM_2);
}
@Step
public <T extends Params> void paramSteps(T... param) {}
enum FirstParam implements Params {
PARAM_1
}
enum SecondParam implements Params {
PARAM_2
}
interface Params {}
I'm submitting a ...
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information