From 15ce8faf08842d2cf03c11ad9e94f3f77b397e93 Mon Sep 17 00:00:00 2001 From: rahuljain-dev Date: Wed, 6 Mar 2024 15:11:44 +0530 Subject: [PATCH] WEBUI-1455: Analysis on retention cicd ftest failure --- packages/nuxeo-web-ui-ftest/pages/helpers.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nuxeo-web-ui-ftest/pages/helpers.js b/packages/nuxeo-web-ui-ftest/pages/helpers.js index b70cdfad20..526aa36694 100644 --- a/packages/nuxeo-web-ui-ftest/pages/helpers.js +++ b/packages/nuxeo-web-ui-ftest/pages/helpers.js @@ -16,7 +16,9 @@ const url = async (...args) => { }; const clickActionMenu = async (menu, selector) => { + await menu.waitForExist(selector); const action = await menu.$(selector); + await action.waitForExist(); if ((await action.getAttribute('show-label')) !== null) { // if the element is inside the dropdown, we need to expand it const myButton = await menu.$('#dropdownButton');