There are two tags that I want to run (preferably in sequence i.e. one after the other), Is the way right way to run?

mvn clean test -Pqa verify -Dthread.count=4 -Dcucumber.options="--tags @prebuild" -Dcucumber.options="--tags @Regression" -e

The prebuild tag is not running but regression is running fine.

1 Answers

0
TheSociety On

Syntax to pass multiple tags in Cucumber Serenity :

mvn clean verify -Dcucumber.options="--tags @sanity --tags @regression"