Merge branch '21452-fuse-filters'
[arvados.git] / services / workbench2 / cypress / integration / process.spec.js
index 9ea026b9906511c297cb6367370b8c08955f8869..f647560a5fcc7bcee66b1b3007d9aecf47c49823 100644 (file)
@@ -106,7 +106,7 @@ describe("Process tests", function () {
                 'Share',
                 'View details',
             ];
-    
+
             createContainerRequest(
                 activeUser,
                 `test_container_request ${Math.floor(Math.random() * 999999)}`,
@@ -123,6 +123,7 @@ describe("Process tests", function () {
                 cy.get("[data-cy=side-panel-tree]").contains("Home Projects").click();
                 cy.waitForDom()
                 cy.get('[data-cy=data-table-row]').contains(containerRequest.name).should('exist').parent().parent().parent().parent().click()
+                cy.waitForDom()
                 cy.get('[data-cy=multiselect-button]').should('have.length', msButtonTooltips.length)
                 for (let i = 0; i < msButtonTooltips.length; i++) {
                     cy.get('[data-cy=multiselect-button]').eq(i).trigger('mouseover');
@@ -1363,7 +1364,7 @@ describe("Process tests", function () {
             cy.getAll("@containerRequest", "@testOutputCollection").then(function ([containerRequest, testOutputCollection]) {
                 cy.goToPath(`/processes/${containerRequest.uuid}`);
                 cy.get("[data-cy=process-io-card] h6")
-                    .contains("Inputs")
+                    .contains("Input Parameters")
                     .parents("[data-cy=process-io-card]")
                     .within(() => {
                         verifyIOParameter("input_file", null, "Label Description", "input1.tar", "00000000000000000000000000000000+01");
@@ -1398,7 +1399,7 @@ describe("Process tests", function () {
                         verifyIOParameter("input_file_url", null, null, "http://example.com/index.html");
                     });
                 cy.get("[data-cy=process-io-card] h6")
-                    .contains("Outputs")
+                    .contains("Output Parameters")
                     .parents("[data-cy=process-io-card]")
                     .within(ctx => {
                         cy.get(ctx).scrollIntoView();
@@ -1495,8 +1496,10 @@ describe("Process tests", function () {
 
             cy.getAll("@containerRequest").then(function ([containerRequest]) {
                 cy.goToPath(`/processes/${containerRequest.uuid}`);
+                cy.waitForDom();
+
                 cy.get("[data-cy=process-io-card] h6")
-                    .contains("Inputs")
+                    .contains("Input Parameters")
                     .parents("[data-cy=process-io-card]")
                     .within(() => {
                         cy.wait(2000);
@@ -1506,7 +1509,7 @@ describe("Process tests", function () {
                         });
                     });
                 cy.get("[data-cy=process-io-card] h6")
-                    .contains("Outputs")
+                    .contains("Output Parameters")
                     .parents("[data-cy=process-io-card]")
                     .within(() => {
                         cy.get("tbody tr").each(item => {