Skip to content

Commit 7c47d2e

Browse files
Merge pull request #1869 from openshift-cherrypick-robot/cherry-pick-1868-to-release-4.19
[release-4.19] Tests: Replace all console-image flags with the PR image
2 parents 9abbc4f + 44407e6 commit 7c47d2e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/tests/lightspeed-install.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ describe('OLS UI', () => {
173173
const args =
174174
csv.spec.install.spec.deployments[0].spec.template.spec.containers[0].args.map(
175175
(arg) =>
176-
arg.startsWith('--console-image=')
177-
? `--console-image=${Cypress.env('CONSOLE_IMAGE')}`
176+
arg.startsWith('--console-image')
177+
? arg.replace(/=.*/, `=${Cypress.env('CONSOLE_IMAGE')}`)
178178
: arg,
179179
);
180180

0 commit comments

Comments
 (0)