Skip to content

Commit e9d2571

Browse files
committed
fix failed test snapshots (opensearch-project#22)
fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <ruanyl@amazon.com> --------- Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
1 parent 43c1bb6 commit e9d2571

File tree

3 files changed

+1687
-87
lines changed

3 files changed

+1687
-87
lines changed

.github/workflows/cypress_workflow.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ jobs:
5555
with:
5656
path: ${{ env.FTR_PATH }}
5757
repository: opensearch-project/opensearch-dashboards-functional-test
58-
ref: '${{ github.base_ref }}'
58+
# revert this to '${{ github.base_ref }}'
59+
ref: 'main'
5960

6061
- name: Get Cypress version
6162
id: cypress_version
@@ -88,7 +89,7 @@ jobs:
8889
name: ftr-cypress-screenshots
8990
path: ${{ env.FTR_PATH }}/cypress/screenshots
9091
retention-days: 1
91-
92+
9293
- uses: actions/upload-artifact@v3
9394
if: always()
9495
with:
@@ -101,4 +102,4 @@ jobs:
101102
with:
102103
name: ftr-cypress-results
103104
path: ${{ env.FTR_PATH }}/cypress/results
104-
retention-days: 1
105+
retention-days: 1

0 commit comments

Comments
 (0)