Skip to content

Commit 5f0689d

Browse files
Merge pull request #1868 from kyoto/tests-fix-console-image
Tests: Replace all console-image flags with the PR image
2 parents 470828a + 9d8bf1d commit 5f0689d

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)