From ec08c32ed3c0ac056c883117e9e25e9eee8c531a Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Wed, 13 Sep 2023 22:17:05 +0800 Subject: [PATCH] feat: update Signed-off-by: SuZhou-Joe --- .github/workflows/cypress_workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress_workflow.yml b/.github/workflows/cypress_workflow.yml index dc8a9c29abc3..edfcc288fad7 100644 --- a/.github/workflows/cypress_workflow.yml +++ b/.github/workflows/cypress_workflow.yml @@ -19,7 +19,7 @@ env: jobs: cypress-tests: - runs-on: arc-runner-set + runs-on: ubuntu-latest container: image: docker://opensearchstaging/ci-runner:ci-runner-rockylinux8-opensearch-dashboards-integtest-v2 options: --user 1001 @@ -78,9 +78,9 @@ jobs: uses: cypress-io/github-action@v2 with: working-directory: ${{ env.FTR_PATH }} - start: sudo ${{ env.OPENSEARCH_SNAPSHOT_CMD }}, ${{ env.START_CMD }} + start: ${{ env.OPENSEARCH_SNAPSHOT_CMD }}, ${{ env.START_CMD }} wait-on: 'http://localhost:9200, http://localhost:5601' - command: sudo yarn cypress:run-without-security --browser ${{ env.CYPRESS_BROWSER }} --spec ${{ env.SPEC }} + command: yarn cypress:run-without-security --browser ${{ env.CYPRESS_BROWSER }} --spec ${{ env.SPEC }} # Screenshots are only captured on failure, will change this once we do visual regression tests - uses: actions/upload-artifact@v3