From 8ea8286cecfda4d629604095be5c76726a21a7cb Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Tue, 27 Jan 2026 14:02:23 +1000 Subject: [PATCH] More cypress fixes --- test/cypress/e2e/api/Streams.cy.js | 1 + test/cypress/support/commands.mjs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cypress/e2e/api/Streams.cy.js b/test/cypress/e2e/api/Streams.cy.js index 923b1b41..10809f89 100644 --- a/test/cypress/e2e/api/Streams.cy.js +++ b/test/cypress/e2e/api/Streams.cy.js @@ -176,6 +176,7 @@ describe('Streams', () => { 'cert_chain_of_trust', 'cert_extlifeSpan', 'cert_revocation', + 'engine_problem', 'overall_grade', ]; diff --git a/test/cypress/support/commands.mjs b/test/cypress/support/commands.mjs index 1cc2e9c1..7d9224d0 100644 --- a/test/cypress/support/commands.mjs +++ b/test/cypress/support/commands.mjs @@ -35,7 +35,7 @@ Cypress.Commands.add("validateSwaggerFile", (url, savePath) => { .then((response) => cy.writeFile(savePath, response.body, { log: false })) .then(() => cy.exec(`yarn swagger-lint '${savePath}'`, { failOnNonZeroExit: false })) .then((result) => cy.task('log', `Swagger Vacuum Results:\n${result.stdout || ''}`) - .then(() => expect(result.code).to.eq(0))); + .then(() => expect(result.exitCode).to.eq(0))); }); });