AWS Device Farm - Not a file or directory for cucumber features path

I am trying to run our app tests in device farm but I am getting an error saying it cannot find the features. java.lang.IllegalArgumentException: Not a file or directory: /tmp/scratchktFI9V.scratch/test-packagehFUzci/src/test/resources/features

I have got the example repo and app running and passing as per this guide which is all great but when running our own I get this error.

I noticed the example tests uses classpath in the features path but when i try this i just get Not a file or directory: /tmp/scratchRlueAN.scratch/test-packageMMRQh4/classpath

These are my cucumber options:

@CucumberOptions(

monochrome = true,

tags =...

Read More »

By: StackOverFlow - 5 days ago

Related Posts