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))); }); });