From 90b8e39baf5e19143438fb6e8d5b6e1ab518e549 Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Thu, 12 Sep 2024 12:26:55 -0400 Subject: [PATCH] fix(tests): wait for dropdown menu to be visible Signed-off-by: Elizabeth Danzberger --- cypress/e2e/integration.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cypress/e2e/integration.spec.js b/cypress/e2e/integration.spec.js index 3498b838fa..77243f6f46 100644 --- a/cypress/e2e/integration.spec.js +++ b/cypress/e2e/integration.spec.js @@ -141,6 +141,8 @@ describe('Nextcloud integration', function() { .as('smartPickerDropdown') cy.get('@smartPickerDropdown').click() cy.get('@referencePickerContent') + .find('ul[aria-label="Options"]') + .should('be.visible') .contains('Link to office document section') .click()