datopian / ckan-integration-tests

Cypress toolkit to run integration tests against a CKAN instance
https://tech.datopian.com/ckan/
MIT License
4 stars 3 forks source link

Test sample #18

Closed geoffrey1330 closed 1 year ago

geoffrey1330 commented 1 year ago

We don't need the following files to be merged.

  • cypress/.DS_Store (this shouldn't be uploaded at all as its your local file)
  • package-lock.json
  • package.json

I've made the fix

geoffrey1330 commented 1 year ago

For the PR:

  1. Fixed the datapusher integration test by changing cy.get(':nth-child(2) > td').should('contain', 'Just now') to cy.get(':nth-child(2) > td').contains(/Just now | seconds ago/i) so as to or operation in getting expected outcome.