Skip to content

set REACT_APP _API_ENDPOINT and _AUTHENTICATION_URL as props #4373

set REACT_APP _API_ENDPOINT and _AUTHENTICATION_URL as props

set REACT_APP _API_ENDPOINT and _AUTHENTICATION_URL as props #4373

Re-run triggered November 5, 2024 11:46
Status Failure
Total duration 6m 3s
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 26s
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

7 errors and 1 warning
test: src/containers/WebComponentLoader.test.js#L129
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) - Expected + Received @@ -3,8 +3,8 @@ "assetsIdentifier": undefined, "code": "print('This project is amazing')", "loadCache": true, "loadRemix": false, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, Number of calls: 1 at Object.toHaveBeenCalledWith (/home/runner/work/editor-ui/editor-ui/src/containers/WebComponentLoader.test.js:129:26) 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 _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/containers/WebComponentLoader.test.js#L233
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"accessToken": undefined, "assetsIdentifier": "my-assets-identifier", "code": "print('This project is amazing')", "loadCache": true, "loadRemix": false, "reactAppApiEndpoint": "http://localhost:3009", "remixLoadFailed": false} Received 1 @@ -2,8 +2,9 @@ "accessToken": undefined, "assetsIdentifier": "my-assets-identifier", "code": "print('This project is amazing')", "loadCache": true, "loadRemix": false, - "reactAppApiEndpoint": "http://localhost:3009", + "projectIdentifier": undefined, + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, 2 @@ -2,8 +2,9 @@ "accessToken": undefined, "assetsIdentifier": "my-assets-identifier", "code": "print('This project is amazing')", "loadCache": true, "loadRemix": false, - "reactAppApiEndpoint": "http://localhost:3009", + "projectIdentifier": undefined, + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, Number of calls: 2 at Object.toHaveBeenCalledWith (/home/runner/work/editor-ui/editor-ui/src/containers/WebComponentLoader.test.js:233:26) 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 _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/containers/WebComponentLoader.test.js#L266
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"accessToken": "my_token", "assetsIdentifier": undefined, "code": "print('This project is amazing')", "loadCache": false, "loadRemix": true, "projectIdentifier": "My amazing project", "reactAppApiEndpoint": "http://localhost:3009", "remixLoadFailed": false} Received 1 @@ -3,8 +3,8 @@ "assetsIdentifier": undefined, "code": "print('This project is amazing')", "loadCache": false, "loadRemix": true, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, 2 @@ -3,8 +3,8 @@ "assetsIdentifier": undefined, "code": "print('This project is amazing')", "loadCache": false, "loadRemix": true, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, 3 @@ -3,8 +3,8 @@ "assetsIdentifier": undefined, "code": "print('This project is amazing')", "loadCache": false, "loadRemix": true, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, Number of calls: 3 at Object.toHaveBeenCalledWith (/home/runner/work/editor-ui/editor-ui/src/containers/WebComponentLoader.test.js:266:26) 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 _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/containers/WebComponentLoader.test.js#L392
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"accessToken": "my_token", "assetsIdentifier": undefined, "code": undefined, "loadCache": false, "loadRemix": true, "projectIdentifier": "My amazing project", "reactAppApiEndpoint": "http://localhost:3009", "remixLoadFailed": false} Received 1 @@ -3,8 +3,8 @@ "assetsIdentifier": undefined, "code": undefined, "loadCache": false, "loadRemix": true, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, 2 @@ -3,8 +3,8 @@ "assetsIdentifier": undefined, "code": undefined, "loadCache": false, "loadRemix": true, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, Number of calls: 2 at Object.toHaveBeenCalledWith (/home/runner/work/editor-ui/editor-ui/src/containers/WebComponentLoader.test.js:392:28) 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 _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:121: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/containers/WebComponentLoader.test.js#L422
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"accessToken": "my_token", "assetsIdentifier": undefined, "code": undefined, "loadCache": false, "loadRemix": false, "projectIdentifier": "My amazing project", "reactAppApiEndpoint": "http://localhost:3009", "remixLoadFailed": false} Received 1 Object { "accessToken": "my_token", "assetsIdentifier": undefined, "code": undefined, "loadCache": false, - "loadRemix": false, + "loadRemix": true, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, 2 Object { "accessToken": "my_token", "assetsIdentifier": undefined, "code": undefined, "loadCache": false, - "loadRemix": false, + "loadRemix": true, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, 3 @@ -3,8 +3,8 @@ "assetsIdentifier": undefined, "code": undefined, "loadCache": false, "loadRemix": false, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": false, }, Number of calls: 3 at Object.toHaveBeenCalledWith (/home/runner/work/editor-ui/editor-ui/src/containers/WebComponentLoader.test.js:422:30) 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 _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:121: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/containers/WebComponentLoader.test.js#L500
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: {"accessToken": "my_token", "assetsIdentifier": undefined, "code": undefined, "loadCache": true, "loadRemix": false, "projectIdentifier": "My amazing project", "reactAppApiEndpoint": "http://localhost:3009", "remixLoadFailed": true} Received 1 Object { "accessToken": "my_token", "assetsIdentifier": undefined, "code": undefined, - "loadCache": true, - "loadRemix": false, + "loadCache": false, + "loadRemix": true, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": true, }, 2 @@ -3,8 +3,8 @@ "assetsIdentifier": undefined, "code": undefined, "loadCache": true, "loadRemix": false, "projectIdentifier": "My amazing project", - "reactAppApiEndpoint": "http://localhost:3009", + "reactAppApiEndpoint": undefined, "remixLoadFailed": true, }, Number of calls: 2 at Object.toHaveBeenCalledWith (/home/runner/work/editor-ui/editor-ui/src/containers/WebComponentLoader.test.js:500:28) 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 _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:121: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.
lint: src/containers/WebComponentLoader.test.js#L10
'setReactAppApiEndpoint' is defined but never used