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');