From: Peter Amstutz Date: Mon, 27 Feb 2023 21:33:16 +0000 (-0500) Subject: 19482: Fix tests X-Git-Tag: 2.6.0~6^2~6 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/c3bc34209f7dbbc80c62d8896af043c88cb6b9cf 19482: Fix tests Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- diff --git a/cypress/integration/process.spec.js b/cypress/integration/process.spec.js index 02657b39..f6fbffdc 100644 --- a/cypress/integration/process.spec.js +++ b/cypress/integration/process.spec.js @@ -1040,7 +1040,7 @@ describe('Process tests', function() { cy.get('[data-cy=process-io-card] h6').contains('Outputs') .parents('[data-cy=process-io-card]').within((ctx) => { cy.get(ctx).scrollIntoView(); - cy.get('[data-cy="io-preview-image-toggle"]').click(); + cy.get('[data-cy="io-preview-image-toggle"]').click({waitForAnimations: false}); const outPdh = testOutputCollection.portable_data_hash; verifyIOParameter('output_file', null, "Label Description", 'cat.png', `${outPdh}`); diff --git a/src/views/process-panel/process-io-card.tsx b/src/views/process-panel/process-io-card.tsx index 7a2f8094..baa51496 100644 --- a/src/views/process-panel/process-io-card.tsx +++ b/src/views/process-panel/process-io-card.tsx @@ -255,7 +255,7 @@ export const ProcessIOCard = withStyles(styles)(connect(null, mapDispatchToProps const [showImagePreview, setShowImagePreview] = useState(false); const PanelIcon = label === ProcessIOCardType.INPUT ? InputIcon : OutputIcon; - const mainProcess = process && process!.containerRequest.requestingContainerUuid; + const mainProcess = !(process && process!.containerRequest.requestingContainerUuid); const loading = raw === null || raw === undefined || params === null; const hasRaw = !!(raw && Object.keys(raw).length > 0);