[ARVADOS-WORKBENCH2] updated: 2.1.0-110-g673bf2ac
Git user
git at public.arvados.org
Wed Nov 25 16:25:53 UTC 2020
Summary of changes:
cypress/integration/collection-panel.spec.js | 13 +++++++++++++
1 file changed, 13 insertions(+)
via 673bf2ac4b09da2d868fdb99123d72f23d2f88cf (commit)
from c345c171d74d5855d400a8559620f69a87fdb04c (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 673bf2ac4b09da2d868fdb99123d72f23d2f88cf
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date: Wed Nov 25 13:25:17 2020 -0300
17098: Updates integration test for the 'recover version' operation.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>
diff --git a/cypress/integration/collection-panel.spec.js b/cypress/integration/collection-panel.spec.js
index 0a127db7..59b80e67 100644
--- a/cypress/integration/collection-panel.spec.js
+++ b/cypress/integration/collection-panel.spec.js
@@ -393,6 +393,19 @@ describe('Collection panel tests', function() {
.should('not.contain', 'foo').and('contain', 'bar');
cy.get('[data-cy=collection-version-browser-select-3]')
.should('contain', '3').and('contain', '3 B');
+
+ // Recover first version
+ cy.get('[data-cy=collection-version-browser]').within(() => {
+ cy.get('[data-cy=collection-version-browser-select-1]').click();
+ });
+ cy.get('[data-cy=collection-panel-options-btn]').click()
+ cy.get('[data-cy=context-menu]').contains('Recover version').click();
+ cy.get('[data-cy=collection-info-panel]')
+ .should('not.contain', 'This is an old version');
+ cy.get('[data-cy=collection-version-number]').should('contain', '4');
+ cy.get('[data-cy=collection-info-panel]').should('contain', colName);
+ cy.get('[data-cy=collection-files-panel]')
+ .should('contain', 'foo').and('contain', 'bar');
});
});
})
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list