From 069c36eabf3f5f3b581e3fd4216c847ce4671e55 Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Thu, 7 Nov 2024 16:03:30 +0530 Subject: [PATCH] LTS2025: ftest search feature --- .github/workflows/ftest.yaml | 2 +- .../nuxeo-web-ui-ftest/features/step_definitions/search.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ftest.yaml b/.github/workflows/ftest.yaml index ec47284c0f..6927ec590a 100644 --- a/.github/workflows/ftest.yaml +++ b/.github/workflows/ftest.yaml @@ -131,7 +131,7 @@ jobs: env: RUN_ALL: false BAIL: 0 - run: mvn -ntp install -Pftest -DskipInstall -X + run: mvn -ntp install -Pftest -DskipInstall - name: Archive cucumber reports if: ${{ always() }} diff --git a/packages/nuxeo-web-ui-ftest/features/step_definitions/search.js b/packages/nuxeo-web-ui-ftest/features/step_definitions/search.js index de39c4ecd0..6340e24879 100644 --- a/packages/nuxeo-web-ui-ftest/features/step_definitions/search.js +++ b/packages/nuxeo-web-ui-ftest/features/step_definitions/search.js @@ -200,12 +200,12 @@ Then('I edit the results columns to show {string}', async function(heading) { Then(/^I save my search as "(.+)"$/, async function(searchName) { const saveAsButton = await this.ui.searchResults.saveSearchAsButton; - await saveAsButton.waitForVisible({ timeout: 5000 }); + await saveAsButton.waitForVisible(); await saveAsButton.click(); await this.ui.searchResults.enterInput(searchName); const confirmSaveButton = await this.ui.searchResults.confirmSaveSearchButton; - await confirmSaveButton.waitForEnabled({ timeout: 5000 }); - await confirmSaveButton.waitForClickable({ timeout: 5000 }); + await confirmSaveButton.waitForEnabled(); + await confirmSaveButton.waitForClickable(); await confirmSaveButton.click(); });