Skip to content

Commit 44389c3

Browse files
authored
Merge pull request #3109 from st3penta/fix-acceptance-case
Fix silently failing acceptance test scenario
2 parents 4882c59 + 7840d83 commit 44389c3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

acceptance/kubernetes/kubernetes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ func AddStepsTo(sc *godog.ScenarioContext) {
464464
sc.Step(`^an Snapshot named "([^"]*)" with (\d+) components signed with "([^"]*)" key$`, createNamedSnapshotWithManyComponents)
465465
sc.Step(`^the task logs for step "([^"]*)" should match the snapshot$`, taskLogsShouldMatchTheSnapshot)
466466
sc.Step(`^the task logs for step "([^"]*)" should contain "([^"]*)"$`, taskLogsShouldContain)
467+
sc.Step("^the task logs for step \"([^\"]*)\" should contain `([^`]+)`$", taskLogsShouldContain)
467468
sc.Step(`^the task env var for step "([^"]*)" named "([^"]*)" should be set to "([^"]*)"$`, stepEnvVarShouldBe)
468469
sc.Step(`^the task results should match the snapshot$`, taskResultsShouldMatchTheSnapshot)
469470
sc.Step(`^policy configuration named "([^"]*)" with (\d+) policy sources from "([^"]*)"(?:, patched with)$`, createNamedPolicyWithManySources)

features/task_validate_image.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Feature: Verify Enterprise Contract Tekton Tasks
298298
| IGNORE_REKOR | true |
299299
| EFFECTIVE_TIME | 2020-01-01T00:00:00Z |
300300
Then the task should succeed
301-
And the task logs for step "show-config" should contain "effective-time":"2020-01-01T00:00:00Z"
301+
And the task logs for step "show-config" should contain `"effective-time": "2020-01-01T00:00:00Z"`
302302

303303
Scenario: SSL_CERT_DIR environment variable is customized
304304
Given a working namespace

0 commit comments

Comments
 (0)