parent = 'null' cardNumber = 'null' while running serenity using Maven



Technology Stack: Serenity + Cucumber + Jnit

Problem: If you have been using Serenity and have seen that your reports don't show up the capabilities/epics that have been run. If you dig further you would notice that in your logs there is a statement where the epics/capability isn't able to find its parent, cardNumber


Solution: 

What would not work:

  • Updating pom file
  • Using latest jars 
What works: Path to the requirements directory like this:


serenity.requirements.dir = src/test/resources/features

Comments

Popular posts from this blog

Software Testing @ Microsoft

Trim / Remove spaces in Xpath?