Merge branch '17526-3rd-party-access-ui' into main. Closes #17526
authorStephen Smith <stephen@curii.com>
Mon, 2 Aug 2021 16:44:24 +0000 (12:44 -0400)
committerStephen Smith <stephen@curii.com>
Mon, 2 Aug 2021 16:44:24 +0000 (12:44 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

1  2 
cypress/integration/collection.spec.js

index 75031c12f2f36f998b4106dfd8ef8bc6f145c8a1,92511d4ef5d7cad814c8be5bd0d6eab2a633a73b..e45971f46e8267b87ac410c2689d209ee4ff458a
@@@ -43,7 -43,7 +43,7 @@@ describe('Collection panel tests', func
              cy.goToPath(`/collections/${testCollection.uuid}`);
  
              cy.get('[data-cy=collection-panel-options-btn]').click();
-             cy.get('[data-cy=context-menu]').contains('Open as network folder or S3 bucket').click();
+             cy.get('[data-cy=context-menu]').contains('Open with 3rd party client').click();
              cy.get('[data-cy=download-button').click();
  
              const filename = path.join(downloadsFolder, `${testCollection.name}.duck`);
          const collName = `[Test collection (${Math.floor(999999 * Math.random())})]`;
          cy.get('[data-cy=form-dialog]')
              .should('contain', 'New collection')
 +            .and('contain', 'Storage classes')
 +            .and('contain', 'default')
 +            .and('contain', 'foo')
 +            .and('contain', 'bar')
              .within(() => {
                  cy.get('[data-cy=parent-field]').within(() => {
                      cy.get('input').should('have.value', 'Home project');
 -                })
 +                });
                  cy.get('[data-cy=name-field]').within(() => {
                      cy.get('input').type(collName);
 -                })
 +                });
 +                cy.get('[data-cy=checkbox-foo]').click();
              })
          cy.get('[data-cy=form-submit-btn]').click();
          // Confirm that the user was taken to the newly created thing
          cy.get('[data-cy=form-dialog]').should('not.exist');
          cy.get('[data-cy=breadcrumb-first]').should('contain', 'Projects');
          cy.get('[data-cy=breadcrumb-last]').should('contain', collName);
 +        cy.get('[data-cy=collection-info-panel]')
 +            .should('contain', 'default')
 +            .and('contain', 'foo')
 +            .and('not.contain', 'bar');
      });
  
      it('shows responsible person for collection if available', () => {