Skip to content

Commit 5066107

Browse files
authored
[BUG]added fix for csv downloads in reports-2.11 (#1724)
* added fix for csv downloads in reports-2.11 Signed-off-by: sumukhswamy <sumukhhs@amazon.com> * updated artifact and url in test Signed-off-by: sumukhswamy <sumukhhs@amazon.com> --------- Signed-off-by: sumukhswamy <sumukhhs@amazon.com>
1 parent 54f5780 commit 5066107

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/release-e2e-workflow-template.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -115,19 +115,19 @@ jobs:
115115
command: ${{ inputs.test-command }}
116116
wait-on: 'http://localhost:5601'
117117
# Screenshots are only captured on failure, will change this once we do visual regression tests
118-
- uses: actions/upload-artifact@v1
118+
- uses: actions/upload-artifact@v4
119119
if: failure()
120120
with:
121121
name: cypress-screenshots
122122
path: cypress-test/cypress/screenshots
123123
# Test run video was always captured, so this action uses "always()" condition
124-
- uses: actions/upload-artifact@v1
124+
- uses: actions/upload-artifact@v4
125125
if: always()
126126
with:
127127
name: cypress-videos
128128
path: cypress-test/cypress/videos
129129
# Test reports was always captured, so this action uses "always()" condition
130-
- uses: actions/upload-artifact@v1
130+
- uses: actions/upload-artifact@v4
131131
if: always()
132132
with:
133133
name: cypress-results

cypress/integration/plugins/reports-dashboards/04-download.spec.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ describe('Cypress', () => {
9191
cy.wait(5000);
9292

9393
// open saved search list
94-
cy.get(
95-
'button.euiButtonEmpty:nth-child(3) > span:nth-child(1) > span:nth-child(1)'
96-
).click({ force: true });
94+
cy.get('[data-test-subj="discoverOpenButton"]').click({ force: true });
9795
cy.wait(5000);
9896

9997
// click first entry

0 commit comments

Comments
 (0)