From 564602b5adef0b62edd07c2daa1e09a6f6731b92 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Wed, 22 Mar 2023 10:24:00 -0400 Subject: [PATCH] 20251: Try to improve flaky clipboard test Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- cypress/integration/project.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/project.spec.js b/cypress/integration/project.spec.js index 6a3043d6..cdb49c86 100644 --- a/cypress/integration/project.spec.js +++ b/cypress/integration/project.spec.js @@ -546,7 +546,7 @@ describe('Project tests', function() { }); cy.get('[data-cy=side-panel-tree]').contains('Projects').click(); - cy.get('[data-cy=project-panel]').contains(projectName).rightclick(); + cy.get('[data-cy=project-panel]').contains(projectName).should('be.visible').rightclick(); cy.get('[data-cy=context-menu]').contains('Copy to clipboard').click(); cy.window().then((win) => ( win.navigator.clipboard.readText().then((text) => { -- 2.30.2