From: Stephen Smith Date: Thu, 12 Aug 2021 17:59:51 +0000 (-0400) Subject: 17532: Add cypress test for collection history username X-Git-Tag: 2.3.0~6^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/6d6ea46757e93939c12d026faf9fd3c4d7b83122 17532: Add cypress test for collection history username Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index e45971f4..c169de2f 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -534,10 +534,14 @@ describe('Collection panel tests', function () { .within(() => { // Version 1: 6 bytes in size cy.get('[data-cy=collection-version-browser-select-1]') - .should('contain', '1').and('contain', '6 B'); + .should('contain', '1') + .and('contain', '6 B') + .and('contain', adminUser.user.uuid); // Version 2: 3 bytes in size (one file removed) cy.get('[data-cy=collection-version-browser-select-2]') - .should('contain', '2').and('contain', '3 B'); + .should('contain', '2') + .and('contain', '3 B') + .and('contain', activeUser.user.full_name); cy.get('[data-cy=collection-version-browser-select-3]') .should('not.exist'); cy.get('[data-cy=collection-version-browser-select-1]')