File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -441,9 +441,9 @@ import org.slf4j.LoggerFactory;
441441
442442import com.nordstrom.automation.junit.ArtifactType ;
443443
444- public class MyArtifactType implements ArtifactType {
444+ public class MyArtifactType extends ArtifactType {
445445
446- private static final Path ARTIFACT_PATH = Paths . get( " artifacts" ) ;
446+ private static final String ARTIFACT_PATH = " artifacts" ;
447447 private static final String EXTENSION = " txt" ;
448448 private static final String ARTIFACT = " This text artifact was captured for '%s'" ;
449449 private static final Logger LOGGER = LoggerFactory . getLogger(MyArtifactType . class);
@@ -465,7 +465,7 @@ public class MyArtifactType implements ArtifactType {
465465
466466 @Override
467467 public Path getArtifactPath () {
468- return ARTIFACT_PATH ;
468+ return super . getArtifactPath(instance) . resolve( ARTIFACT_PATH ) ;
469469 }
470470
471471 @Override
You can’t perform that action at this time.
0 commit comments