Skip to content

Commit d9a4b66

Browse files
committed
Update test to use proper step pattern.
Found by CodeRabbit: Line 625 has an undefined step: `${TEST_NAMESPACE}` does not match the registered step pattern. The step definition for "with needed permissions" is registered only for the literal in test namespace pattern (verified in test/e2e/steps/steps.go line 128). Line 625 uses `in ${TEST_NAMESPACE}`, which will cause the e2e test to fail with an undefined step error. Update it to match the registered pattern. Signed-off-by: Todd Short <tshort@redhat.com>
1 parent 95ef574 commit d9a4b66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/features/install.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ Feature: Install ClusterExtension
622622
"""
623623
Verbs:[create]
624624
"""
625-
When ServiceAccount "olm-sa" with needed permissions is available in ${TEST_NAMESPACE}
625+
When ServiceAccount "olm-sa" with needed permissions is available in test namespace
626626
Then ClusterExtension is available
627627
And ClusterExtension reports Progressing as True with Reason Succeeded
628628
And ClusterExtension reports Installed as True

0 commit comments

Comments
 (0)