Skip to content

Commit

Permalink
[BUG]added fix for csv downloads in reports-2.11 (#1724)
Browse files Browse the repository at this point in the history
* added fix for csv downloads in reports-2.11

Signed-off-by: sumukhswamy <[email protected]>

* updated artifact and url in test

Signed-off-by: sumukhswamy <[email protected]>

---------

Signed-off-by: sumukhswamy <[email protected]>
  • Loading branch information
sumukhswamy authored Feb 21, 2025
1 parent 54f5780 commit 5066107
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-e2e-workflow-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,19 @@ jobs:
command: ${{ inputs.test-command }}
wait-on: 'http://localhost:5601'
# Screenshots are only captured on failure, will change this once we do visual regression tests
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress-test/cypress/screenshots
# Test run video was always captured, so this action uses "always()" condition
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
if: always()
with:
name: cypress-videos
path: cypress-test/cypress/videos
# Test reports was always captured, so this action uses "always()" condition
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
if: always()
with:
name: cypress-results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ describe('Cypress', () => {
cy.wait(5000);

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

// click first entry
Expand Down

0 comments on commit 5066107

Please sign in to comment.