From: Stephen Smith Date: Tue, 21 Jun 2022 15:27:38 +0000 (-0400) Subject: 19153: Fix project cypress test X-Git-Tag: 2.5.0~49^2~1 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/92bab47864916d852ef1c8f9579dafe8ae40f124 19153: Fix project cypress test Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/cypress/integration/project.spec.js b/cypress/integration/project.spec.js index 7371ed06..7590cce4 100644 --- a/cypress/integration/project.spec.js +++ b/cypress/integration/project.spec.js @@ -82,7 +82,8 @@ describe('Project tests', function() { .then(function() { expect(this.projects).to.have.lengthOf(1); expect(this.projects[0].properties).to.deep.equal( - {IDTAGCOLORS: 'IDVALCOLORS3'}); + // Pink is not in the test vocab + {IDTAGCOLORS: ['IDVALCOLORS1', 'IDVALCOLORS3', 'Pink']}); }); }); @@ -245,7 +246,7 @@ describe('Project tests', function() { cy.getAll('@mainProject') .then(function ([mainProject]) { cy.loginAs(adminUser); - + cy.get('[data-cy=side-panel-tree]').contains('Groups').click(); cy.get('[data-cy=uuid]').eq(0).invoke('text').then(uuid => { @@ -277,4 +278,4 @@ describe('Project tests', function() { }); }); }); -}); \ No newline at end of file +});