[arvados-workbench2] updated: 2.4.0-160-g387443bd
git repository hosting
git at public.arvados.org
Thu Jul 14 21:26:57 UTC 2022
Summary of changes:
cypress/integration/collection.spec.js | 6 +++---
tools/arvados_config.yml | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
via 387443bdebe2fb106e844a38823ba3f538b9bd70 (commit)
from 62abdd5fbf51cde6c61350082a7924b3ebaf8526 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 387443bdebe2fb106e844a38823ba3f538b9bd70
Author: Stephen Smith <stephen at curii.com>
Date: Thu Jul 14 17:26:21 2022 -0400
16073: Change cypress tests to use TrustAllContent: true
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>
diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js
index 28454a90..74506aea 100644
--- a/cypress/integration/collection.spec.js
+++ b/cypress/integration/collection.spec.js
@@ -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');
diff --git a/tools/arvados_config.yml b/tools/arvados_config.yml
index 3b2ecd8d..e7453797 100644
--- a/tools/arvados_config.yml
+++ b/tools/arvados_config.yml
@@ -12,7 +12,7 @@ Clusters:
CollectionVersioning: true
PreserveVersionIfIdle: -1s
BlobSigningKey: zfhgfenhffzltr9dixws36j1yhksjoll2grmku38mi7yxd66h5j4q9w4jzanezacp8s6q0ro3hxakfye02152hncy6zml2ed0uc
- TrustAllContent: false
+ TrustAllContent: true
ForwardSlashNameSubstitution: /
ManagedProperties:
original_owner_uuid: {Function: original_owner, Protected: true}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list