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}`);
cy.goToPath(`/processes/${containerRequest.uuid}`);
cy.waitForDom();
cy.get('[data-cy=process-details]').should('contain', crUncommitted);
- cy.get('[data-cy=process-details]').find('button').contains('Run');
- cy.get('[data-cy=process-cancel]').should('not.exist');
+ cy.get('[data-cy=process-run-button]').should('exist');
+ cy.get('[data-cy=process-cancel-button]').should('not.exist');
});
// Queued container
cy.goToPath(`/processes/${containerRequest.uuid}`);
cy.waitForDom();
cy.get('[data-cy=process-details]').should('contain', crQueued);
- cy.get('[data-cy=process-cancel]').contains('Cancel');
+ cy.get('[data-cy=process-cancel-button]').contains('Cancel');
});
// Locked container
cy.goToPath(`/processes/${containerRequest.uuid}`);
cy.waitForDom();
cy.get('[data-cy=process-details]').should('contain', crLocked);
- cy.get('[data-cy=process-cancel]').contains('Cancel');
+ cy.get('[data-cy=process-cancel-button]').contains('Cancel');
});
// On Hold container
cy.goToPath(`/processes/${containerRequest.uuid}`);
cy.waitForDom();
cy.get('[data-cy=process-details]').should('contain', crOnHold);
- cy.get('[data-cy=process-details]').find('button').contains('Run');
- cy.get('[data-cy=process-cancel]').should('not.exist');
+ cy.get('[data-cy=process-run-button]').should('exist');
+ cy.get('[data-cy=process-cancel-button]').should('not.exist');
});
});