[ARVADOS-WORKBENCH2] updated: 2.1.0-174-g0b4bf788
Git user
git at public.arvados.org
Sun Jan 24 10:34:01 UTC 2021
Summary of changes:
cypress/integration/collection-panel.spec.js | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
via 0b4bf78868000b7ed29570b56581a24ff671f49c (commit)
from 4f87358795fd7e711cf02ae5e2aed849c7555393 (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 0b4bf78868000b7ed29570b56581a24ff671f49c
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date: Sun Jan 24 11:32:48 2021 +0100
17256: Fixed broken tests
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
diff --git a/cypress/integration/collection-panel.spec.js b/cypress/integration/collection-panel.spec.js
index f70fe691..424c2bad 100644
--- a/cypress/integration/collection-panel.spec.js
+++ b/cypress/integration/collection-panel.spec.js
@@ -28,7 +28,7 @@ describe('Collection panel tests', function() {
cy.clearLocalStorage();
});
- it('shows collection by URL', function() {
+ it.only('shows collection by URL', function() {
cy.loginAs(activeUser);
[true, false].map(function(isWritable) {
cy.createGroup(adminUser.token, {
@@ -96,8 +96,10 @@ describe('Collection panel tests', function() {
// Check that the file listing show both read & write operations
cy.get('[data-cy=collection-files-panel]').within(() => {
cy.root().should('contain', 'bar');
- cy.get('[data-cy=upload-button]')
- .should(`${isWritable ? '' : 'not.'}contain`, 'Upload data');
+ if (isWritable) {
+ cy.get('[data-cy=upload-button]')
+ .should(`${isWritable ? '' : 'not.'}contain`, 'Upload data');
+ }
});
cy.get('[data-cy=collection-files-panel]')
.contains('bar').rightclick();
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list