init sce upload; rename seurat pipeline to obj2s #1933
pr_validate.yaml
on: pull_request
Lint pull request body
14s
Run integration tests
0s
Annotations
5 errors
Lint pull request body
Process completed with exit code 1.
|
FileUploadModal > drag and drop fails with valid Seurat file when pre-existing Seurat file exists for experiment:
src/__test__/components/data-management/FileUploadModal.test.jsx#L319
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: "error", undefined
Received: "error", "Please remove existing rds file before uploading a new one."
Number of calls: 1
at Object.toHaveBeenCalledWith (/home/runner/work/ui/ui/src/__test__/components/data-management/FileUploadModal.test.jsx:363:25)
|
ExperimentUpdatesHandler > Triggers properly for OBJ2S updates :
src/__test__/utils/experimentUpdatesHandler.test.js#L134
Error: expect(received).toMatchSnapshot()
Snapshot name: `ExperimentUpdatesHandler Triggers properly for OBJ2S updates 1`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
[
"testae48e318dab9a1bd0bexperiment",
{
"seurat": {
"status": "RUNNING",
},
},
]
at Object.toMatchSnapshot (/home/runner/work/ui/ui/src/__test__/utils/experimentUpdatesHandler.test.js:142:27)
at Promise.then.completed (/home/runner/work/ui/ui/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui/ui/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui/ui/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at _runTest (/home/runner/work/ui/ui/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui/ui/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui/ui/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui/ui/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui/ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui/ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui/ui/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui/ui/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui/ui/node_modules/jest-runner/build/testWorker.js:106:12)
|
ExperimentUpdatesHandler > Triggers properly for OBJ2S updates :
src/__test__/utils/experimentUpdatesHandler.test.js#L148
Error: expect(received).toMatchSnapshot()
Snapshot name: `ExperimentUpdatesHandler Triggers properly for OBJ2S updates 2`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
[
"testae48e318dab9a1bd0bexperiment",
{
"seurat": {
"status": "RUNNING",
},
},
]
at Object.toMatchSnapshot (/home/runner/work/ui/ui/src/__test__/utils/experimentUpdatesHandler.test.js:156:27)
at Promise.then.completed (/home/runner/work/ui/ui/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui/ui/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui/ui/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at _runTest (/home/runner/work/ui/ui/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui/ui/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui/ui/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui/ui/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui/ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui/ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui/ui/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui/ui/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui/ui/node_modules/jest-runner/build/testWorker.js:106:12)
|
DownloadDataButton > Downloads processed matrix properly:
src/__test__/components/data-management/DownloadDataButton.test.jsx#L173
Error: expect(received).toMatchSnapshot()
Snapshot name: `DownloadDataButton Downloads processed matrix properly 1`
- Snapshot - 1
+ Received + 1
@@ -18,11 +18,11 @@
],
[
"testae48e318dab9a1bd0bexperiment-0",
{
"embeddingMethod": "umap",
- "isSeurat": false,
+ "isObj2s": false,
"name": "DownloadAnnotSeuratObject",
},
[Function],
[Function],
{
at Object.toMatchSnapshot (/home/runner/work/ui/ui/src/__test__/components/data-management/DownloadDataButton.test.jsx:202:34)
|