Classes annotated with @RunWith(Cucumber.class) must not define any
Step Definition or Hook methods. Their sole purpose is to serve as
an entry point for JUnit. Step Definitions and Hooks should be defined in their own classes. This allows them to be reused across features. Offending class: class com.cucumber.learning.YoutubeTest at cucumber.runtime.junit.Assertions.assertNoCucumberAnnotatedMethods(Assertions.java:13)
cucumber.runtime.CucumberException: Arity mismatch: Step Definition 'ThirdPartyClearingFileDownloadSteps.scala:56' with pattern [^the email contents will list the failed and still-processing transaction references with the following trade details$] is declared with 0 parameters. However, the gherkin step has 1 arguments [Table:[[Trade Details], [12345 - FAIL - PCHK Failed due to invalid party]]].
Step: And the email contents will list the failed and still-processing transaction references with the following trade details