Skip to content

Commit

Permalink
Merge pull request #7780 from ckan/remove-flaky-cypress-test
Browse files Browse the repository at this point in the history
Remove flaky cypress test
  • Loading branch information
wardi committed Sep 7, 2023
2 parents 771ce03 + 083dc81 commit 18df17b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
CKAN_REDIS_URL: redis://localhost:6379/1

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}

Expand All @@ -56,17 +56,17 @@ jobs:
ckan -c test-core-cypress.ini db init
- name: Run Cypress
uses: cypress-io/github-action@v2
uses: cypress-io/github-action@v6
with:
start: ckan -c test-core-cypress.ini run

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
# Test run video was always captured, so this action uses "always()" condition
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-videos
Expand Down
3 changes: 3 additions & 0 deletions cypress/integration/modules/dashboard.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ describe('ckan.modules.DashboardModule()', function () {
});
})

/*
* TODO: This test keeps failing randomly
describe(".search", function(){
it('should filter based on query', function() {
this.module.initialize();
Expand All @@ -61,4 +63,5 @@ describe('ckan.modules.DashboardModule()', function () {
cy.get('#fixture #followee-filter .nav li[data-search="test followee"]').should('be.visible');
})
})
*/
})

0 comments on commit 18df17b

Please sign in to comment.