19991: Fix for search cypress test
authorStephen Smith <stephen@curii.com>
Fri, 18 Aug 2023 16:29:05 +0000 (12:29 -0400)
committerStephen Smith <stephen@curii.com>
Fri, 18 Aug 2023 16:29:05 +0000 (12:29 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

cypress/integration/search.spec.js

index c8e262f011097b43ad9b5902a7d75bacdfa26cf1..2da90fbd12e1204781412181d94635d49e028e54 100644 (file)
@@ -280,6 +280,7 @@ describe('Search tests', function() {
                 cy.contains('View details');
 
                 cy.contains('Copy to clipboard').click();
+                cy.waitForDom();
                 cy.window().then((win) => (
                     win.navigator.clipboard.readText().then((text) => {
                         expect(text).to.match(new RegExp(`/collections/${testCollection.uuid}$`));