From c7db1b9dfe4ea59ad22b25e85c541061b5ff95c3 Mon Sep 17 00:00:00 2001 From: rahuljain-dev Date: Tue, 5 Mar 2024 13:56:27 +0530 Subject: [PATCH] WEBUI-1455: Analysis on retention cicd ftest failure --- packages/nuxeo-web-ui-ftest/package.json | 1 + packages/nuxeo-web-ui-ftest/pages/helpers.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxeo-web-ui-ftest/package.json b/packages/nuxeo-web-ui-ftest/package.json index 56480b83c7..6b6f1807a5 100644 --- a/packages/nuxeo-web-ui-ftest/package.json +++ b/packages/nuxeo-web-ui-ftest/package.json @@ -19,6 +19,7 @@ "@babel/register": "^7.14.5", "@cucumber/tag-expressions": "^2.0.4", "@wdio/cli": "^8.16.11", + "@wdio/cucumber-framework": "^8.16.11", "@wdio/local-runner": "^8.16.11", "@wdio/spec-reporter": "^8.16.9", "babel-plugin-transform-rename-import": "^2.3.0", diff --git a/packages/nuxeo-web-ui-ftest/pages/helpers.js b/packages/nuxeo-web-ui-ftest/pages/helpers.js index 8e5b11a7de..b70cdfad20 100644 --- a/packages/nuxeo-web-ui-ftest/pages/helpers.js +++ b/packages/nuxeo-web-ui-ftest/pages/helpers.js @@ -17,7 +17,6 @@ const url = async (...args) => { const clickActionMenu = async (menu, 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');