Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P1024
unimported function makes js sad (`make test-frontend-ui`, then trigger the origin-save.spec.js scenario)
Active
Public
Actions
Authored by
ardumont
on Apr 28 2021, 10:24 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
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 (<anonymous>)
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 (<anonymous>)
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)
Event Timeline
ardumont
created this paste.
Apr 28 2021, 10:24 AM
2021-04-28 10:24:19 (UTC+2)
ardumont
edited the content of this paste.
(Show Details)
Apr 28 2021, 10:27 AM
2021-04-28 10:27:44 (UTC+2)
ardumont
changed the title of this paste from
unimported function makes js sad
to
unimported function makes js sad (`make test-frontend-ui`, then trigger the origin-save.spec.js scenario)
.
Log In to Comment