X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/e42867f560b3c2f4c09cf6a2c07c964c63714141..fe41be6c6bcc21fc0c7c6450485a1d1f7955ebe5:/cypress/integration/create-workflow.spec.js diff --git a/cypress/integration/create-workflow.spec.js b/cypress/integration/create-workflow.spec.js index b1ea5dbf..8df8389f 100644 --- a/cypress/integration/create-workflow.spec.js +++ b/cypress/integration/create-workflow.spec.js @@ -73,12 +73,12 @@ describe('Multi-file deletion tests', function () { cy.get('[data-cy=run-process-next-button]').click(); - cy.get('[data-cy=new-process-panel]').contains('Run Process').should('be.disabled'); + cy.get('[data-cy=new-process-panel]').contains('Run workflow').should('be.disabled'); cy.get('[data-cy=new-process-panel]') .within(() => { cy.get('[name=name]').type(`Workflow name (${Math.floor(Math.random() * 999999)})`); - cy.get('[readonly]').click(); + cy.contains('input').next().click(); }); cy.get('[data-cy=choose-a-file-dialog]').as('chooseFileDialog'); @@ -105,7 +105,7 @@ describe('Multi-file deletion tests', function () { cy.get('@chooseFileDialog').find('button').contains('Ok').click(); cy.get('[data-cy=new-process-panel]') - .find('button').contains('Run Process').should('not.be.disabled'); + .find('button').contains('Run workflow').should('not.be.disabled'); }); }); @@ -148,14 +148,14 @@ describe('Multi-file deletion tests', function () { cy.get('[data-cy=side-panel-button]').click(); - cy.get('#aside-menu-list').contains('Run a process').click(); + cy.get('#aside-menu-list').contains('Run a workflow').click(); cy.get('@testWorkflow') .then((testWorkflow) => { cy.get('main').contains(testWorkflow.name).click(); cy.get('[data-cy=run-process-next-button]').click(); - cy.get('label').contains('#main/foo').parent('div').find('input').click(); + cy.get('label').contains('foo').parent('div').find('input').click(); cy.get('div[role=dialog]') .within(() => { cy.get('p').contains('Projects').closest('div[role=button]') @@ -174,7 +174,7 @@ describe('Multi-file deletion tests', function () { cy.get('[data-cy=ok-button]').click(); }); - cy.get('label').contains('#main/bar').parent('div').find('input').click(); + cy.get('label').contains('bar').parent('div').find('input').click(); cy.get('div[role=dialog]') .within(() => { cy.get('p').contains('Projects').closest('div[role=button]') @@ -193,13 +193,13 @@ describe('Multi-file deletion tests', function () { }); }); - cy.get('label').contains('#main/foo').parent('div') + cy.get('label').contains('foo').parent('div') .within(() => { cy.contains('baz'); cy.contains('bar'); }); - cy.get('label').contains('#main/bar').parent('div') + cy.get('label').contains('bar').parent('div') .within(() => { cy.contains(testCollection.name); cy.contains(testCollection2.name);