From 6d6ea46757e93939c12d026faf9fd3c4d7b83122 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Thu, 12 Aug 2021 13:59:51 -0400 Subject: [PATCH] 17532: Add cypress test for collection history username Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- cypress/integration/collection.spec.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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]') -- 2.30.2