X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/59171e2cf2ce2740825be7b19d580a2bfa0081f5..952c200514d8740b66377ab7d6860e3a0ef0497d:/cypress/integration/collection.spec.js diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index f26328ab..74506aea 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -192,7 +192,7 @@ describe('Collection panel tests', function () { }); }); - it.only('shows collection by URL', function () { + it('shows collection by URL', function () { cy.loginAs(activeUser); [true, false].map(function (isWritable) { // Using different file names to avoid test flakyness: the second iteration @@ -208,7 +208,7 @@ describe('Collection panel tests', function () { // a bogus manifest text without block signatures. cy.doRequest('GET', '/arvados/v1/config', null, null) .its('body').should((clusterConfig) => { - expect(clusterConfig.Collections, "clusterConfig").to.have.property("TrustAllContent", false); + expect(clusterConfig.Collections, "clusterConfig").to.have.property("TrustAllContent", true); expect(clusterConfig.Services, "clusterConfig").to.have.property("WebDAV").have.property("ExternalURL"); expect(clusterConfig.Services, "clusterConfig").to.have.property("WebDAVDownload").have.property("ExternalURL"); const inlineUrl = clusterConfig.Services.WebDAV.ExternalURL !== "" @@ -264,7 +264,7 @@ describe('Collection panel tests', function () { .contains(fileName).rightclick(); cy.get('[data-cy=context-menu]') .should('contain', 'Download') - .and('not.contain', 'Open in new tab') + .and('contain', 'Open in new tab') .and('contain', 'Copy to clipboard') .and(`${isWritable ? '' : 'not.'}contain`, 'Rename') .and(`${isWritable ? '' : 'not.'}contain`, 'Remove'); @@ -273,7 +273,7 @@ describe('Collection panel tests', function () { .contains(subDirName).rightclick(); cy.get('[data-cy=context-menu]') .should('not.contain', 'Download') - .and('not.contain', 'Open in new tab') + .and('contain', 'Open in new tab') .and('contain', 'Copy to clipboard') .and(`${isWritable ? '' : 'not.'}contain`, 'Rename') .and(`${isWritable ? '' : 'not.'}contain`, 'Remove');