Skip to content

Commit

Permalink
test: fixes summary issue
Browse files Browse the repository at this point in the history
Signed-off-by: Allain Magyar <allain.magyar@iohk.io>
  • Loading branch information
amagyar-iohk committed Mar 22, 2024
1 parent 0ac813d commit 6cb009c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:

- name: Upload artifacts
if: github.ref_name == 'main' || steps.analyze_test_results.outputs.conclusion == 'failure'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: integration-tests-result
path: ${{ env.REPORTS_DIR }}
Expand Down
13 changes: 12 additions & 1 deletion tests/integration-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ plugins {
group = "io.iohk.atala.prism"
version = "1.0-SNAPSHOT"

buildscript {
dependencies {
classpath("net.serenity-bdd:serenity-single-page-report:4.1.4")
classpath("net.serenity-bdd:serenity-json-summary-report:4.1.4")
}
}

repositories {
mavenLocal()
mavenCentral()
Expand All @@ -34,7 +41,10 @@ dependencies {
testImplementation("com.sksamuel.hoplite:hoplite-hocon:2.7.5")
// Kotlin compose
testImplementation("org.testcontainers:testcontainers:1.19.1")
}

serenity {
reports = listOf("single-page-html", "json-summary")
}

tasks.register<Delete>("cleanTarget") {
Expand All @@ -43,6 +53,7 @@ tasks.register<Delete>("cleanTarget") {

tasks.test {
dependsOn("cleanTarget")
finalizedBy("reports")
testLogging.showStandardStreams = true
systemProperty("cucumber.filter.tags", System.getProperty("cucumber.filter.tags"))
}
Expand Down Expand Up @@ -74,7 +85,7 @@ afterEvaluate {
systemProperty("PRISM_NODE_VERSION", System.getenv("PRISM_NODE_VERSION") ?: "")
systemProperty("OPEN_ENTERPRISE_AGENT_VERSION", System.getenv("OPEN_ENTERPRISE_AGENT_VERSION") ?: "")
systemProperty("cucumber.filter.tags", System.getProperty("cucumber.filter.tags"))
finalizedBy("aggregate")
finalizedBy("aggregate", "reports")
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package steps
package steps.schemas

import common.TestConstants
import interactions.Get
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package features.verificationpolicies
package steps.verificationpolicies

import common.TestConstants
import interactions.Get
Expand Down

0 comments on commit 6cb009c

Please sign in to comment.