Skip to content

Commit

Permalink
WEBUI-1455: Analysis on retention cicd ftest failure
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Mar 6, 2024
1 parent c7db1b9 commit 15ce8fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nuxeo-web-ui-ftest/pages/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 15ce8fa

Please sign in to comment.