From a89c34e7cba3d8381302ff142c37e1a8b39ca80e Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Thu, 12 May 2022 18:55:43 -0400 Subject: [PATCH] 19049: Add waitfordom to flaky collection test Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- cypress/integration/collection.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index d668b467..b62a3441 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -251,7 +251,7 @@ describe('Collection panel tests', function () { .should('contain', 'someKey: someValue') .and('not.contain', 'anotherKey: anotherValue'); // Check that the file listing show both read & write operations - cy.get('[data-cy=collection-files-panel]').within(() => { + cy.waitForDom().get('[data-cy=collection-files-panel]').within(() => { cy.get('[data-cy=collection-files-right-panel]', { timeout: 5000 }) .should('contain', fileName); if (isWritable) { -- 2.30.2