diff --git a/.github/workflows/remote-integ-tests-workflow.yml b/.github/workflows/remote-integ-tests-workflow.yml index 129bafda..46a00f44 100644 --- a/.github/workflows/remote-integ-tests-workflow.yml +++ b/.github/workflows/remote-integ-tests-workflow.yml @@ -139,27 +139,9 @@ jobs: echo "::set-output name=cypress_version::$(cat ./package.json | jq '.dependencies.cypress' | tr -d '"')" working-directory: opensearch-dashboards-functional-test - - name: Finding spec files and store to output - id: finding-files - run: | - echo "::set-output name=FILELIST::$(find cypress/integration/plugins/anomaly-detection-dashboards-plugin -name '*.js' -print)" - working-directory: opensearch-dashboards-functional-test - - - name: Print spec files from output - run: | - IFS="," read -a myarray <<< ${{ steps.finding-files.outputs.FILELIST }} - for i in "${myarray[@]}"; do - echo "${i}" - done - working-directory: opensearch-dashboards-functional-test - - name: Run spec files from output run: | - IFS="," read -a myarray <<< ${{ steps.finding-files.outputs.FILELIST }} - for i in "${myarray[@]}"; do - yarn cypress:run-without-security --browser electron --spec "${i}" - sleep 60 - done + yarn cypress:run-without-security --browser electron --spec cypress/integration/plugins/anomaly-detection-dashboards-plugin/**/*.js working-directory: opensearch-dashboards-functional-test - name: Capture failure screenshots