You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using serenity with junit5, i have defined step class as follow:
In CommonStep.class
public class CommonStep {
@Step("#actor this is step common")
public void testStep(){
System.out.println("Hello CommonStep");
}
In ShopStep.class
public class ShopStep extends CommonStep {
@Step("#actor this is step of ShopStep")
public void testShopStep() {
System.out.println("Hello ShopStep");
}
}
In test file
@ExtendWith(SerenityJUnit5Extension.class)
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
public class TC_CreateShop{
@Steps
ShopStep I;
@Test
public void test(){
I.testShopStep();
I.testStep();
}
}
It run correct but in report, all steps of CommonStep which extended by ShopStep is not displayed.
The text was updated successfully, but these errors were encountered:
Hi,
I am using serenity with junit5, i have defined step class as follow:
In CommonStep.class
In ShopStep.class
In test file
It run correct but in report, all steps of CommonStep which extended by ShopStep is not displayed.
The text was updated successfully, but these errors were encountered: