Skip to content

Enable Pyodide input test #4366

Enable Pyodide input test

Enable Pyodide input test #4366

Triggered via pull request November 4, 2024 13:24
Status Failure
Total duration 6m 6s
Artifacts

ci-cd.yml

on: pull_request
deploy-branch  /  setup-environment
0s
deploy-branch / setup-environment
deploy-main  /  setup-environment
deploy-main / setup-environment
deploy-tag  /  setup-environment
deploy-tag / setup-environment
deploy-branch  /  build-deploy
3m 25s
deploy-branch / build-deploy
deploy-main  /  build-deploy
deploy-main / build-deploy
deploy-tag  /  build-deploy
deploy-tag / build-deploy
Fit to window
Zoom out
Zoom in

Annotations

6 errors
test: src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideRunner.test.js#L88
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"content": "print('a')", "filename": "a.py", "method": "writeFile"} Number of calls: 0 at Object.toHaveBeenCalledWith (/home/runner/work/editor-ui/editor-ui/src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideRunner.test.js:88:25) at Promise.then.completed (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:74:19) at runTestInternal (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/testWorker.js:106:12)
test: src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideRunner.test.js#L101
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"content": "image data", "filename": "image1.jpg", "method": "writeFile"} Number of calls: 0 at Object.toHaveBeenCalledWith (/home/runner/work/editor-ui/editor-ui/src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideRunner.test.js:101:25) at Promise.then.completed (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:74:19) at runTestInternal (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/testWorker.js:106:12)
test: src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideRunner.test.js#L109
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"method": "runPython", "python": "print('hello')"} Number of calls: 0 at Object.toHaveBeenCalledWith (/home/runner/work/editor-ui/editor-ui/src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideRunner.test.js:109:25) at Promise.then.completed (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:74:19) at runTestInternal (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/testWorker.js:106:12)
test: src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideRunner.test.js#L127
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"method": "stopPython"} Number of calls: 0 at Object.toHaveBeenCalledWith (/home/runner/work/editor-ui/editor-ui/src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideRunner.test.js:127:25) at Promise.then.completed (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:74:19) at runTestInternal (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/testWorker.js:106:12)
test: node_modules/expect/build/index.js#L325
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: null at __EXTERNAL_MATCHER_TRAP__ (/home/runner/work/editor-ui/editor-ui/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/home/runner/work/editor-ui/editor-ui/node_modules/expect/build/index.js:326:15) at Object.toBeInTheDocument (/home/runner/work/editor-ui/editor-ui/src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideRunner.test.js:257:7) at Promise.then.completed (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:74:19) at runTestInternal (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/testWorker.js:106:12)
test
Process completed with exit code 1.