[arvados-workbench2] updated: 2.6.0-25-g5e8d8fd1
git repository hosting
git at public.arvados.org
Wed May 24 16:17:19 UTC 2023
Summary of changes:
cypress/integration/collection.spec.js | 2 ++
1 file changed, 2 insertions(+)
via 5e8d8fd1172273a14c9306f36eefc7aef8442dc6 (commit)
from c65d58daa5d570be4c19fc207abeda7e01ae1466 (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 5e8d8fd1172273a14c9306f36eefc7aef8442dc6
Author: Stephen Smith <stephen at curii.com>
Date: Wed May 24 12:17:10 2023 -0400
20031: Try to fix tests
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 ff5e4dbd..36478f21 100644
--- a/cypress/integration/collection.spec.js
+++ b/cypress/integration/collection.spec.js
@@ -389,6 +389,7 @@ describe('Collection panel tests', function () {
'table%&?*2',
'bar' // make sure we can go back to the original name as a last step
];
+ cy.intercept({method: 'PUT', url: '**/arvados/v1/collections/*'}).as('renameRequest');
eachPair(names, (from, to) => {
cy.waitForDom().get('[data-cy=collection-files-panel]')
.contains(`${from}`).rightclick();
@@ -403,6 +404,7 @@ describe('Collection panel tests', function () {
.type(to, { parseSpecialCharSequences: false });
});
cy.get('[data-cy=form-submit-btn]').click();
+ cy.wait('@renameRequest');
cy.get('[data-cy=collection-files-panel]')
.should('not.contain', `${from}`)
.and('contain', `${to}`);
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list