ReferenceError The following error originated from your test code, not from Cypress. > formatValuePerType is not defined When Cypress detects uncaught errors originating from your test code it will automatically fail the current test. Cypress could not associate this error to any specific test. We dynamically generated a new test to display this failure. cypress/integration/origin-save.spec.js:108:24 106 | input_values.forEach(function (input, index, array) { 107 | // console.log(`input=${input}`) > 108 | let actual_value = formatValuePerType(input.type, input.value); | ^ 109 | assert.equal(actual_value, input.expected_value) 110 | }); 111 | }); View stack trace Print to console at eval (webpack:///cypress/integration/origin-save.spec.js:108:24) at Array.forEach () at Suite.eval (webpack:///cypress/integration/origin-save.spec.js:106:16) at Object../cypress/integration/origin-save.spec.js (webpack:///cypress/integration/origin-save.spec.js:93:1) at __webpack_require__ (webpack:///webpack/bootstrap:19:1) at Object.0 (http://localhost:5004/__cypress/tests?p=cypress/integration/origin-save.spec.js:486:19) at __webpack_require__ (webpack:///webpack/bootstrap:19:1) at eval (webpack:///webpack/bootstrap:83:1) at eval (http://localhost:5004/__cypress/tests?p=cypress/integration/origin-save.spec.js:87:11) at eval () From previous event: at runScriptsFromUrls (http://localhost:5004/__cypress/runner/cypress_runner.js:157394:98) at Object.runScripts (http://localhost:5004/__cypress/runner/cypress_runner.js:157408:11) at $Cypress.onSpecWindow (http://localhost:5004/__cypress/runner/cypress_runner.js:146889:19)