Skip to content

Commit

Permalink
do not run cucumber tests having tag @wip
Browse files Browse the repository at this point in the history
  • Loading branch information
anandbagmar committed Apr 19, 2024
1 parent 4e88c66 commit c8ffb12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ task cukes() {
classpath = configurations.cucumberRuntime + sourceSets.main.output + sourceSets.test.output
environment "APPLITOOLS_DONT_CLOSE_BATCHES", "true"
environment "APPLITOOLS_LOG_DIR", "${project.logDir}/applitools_logs"
def tags = System.getenv("CUCUMBER_FILTER_TAGS")==null ? "not @wip" : System.getenv("CUCUMBER_FILTER_TAGS") + " not @wip"
environment "CUCUMBER_FILTER_TAGS", tags
args = [
'--plugin', 'pretty',
'--plugin', "html:${project.logDir}/cucumber-report.html",
Expand Down

0 comments on commit c8ffb12

Please sign in to comment.