Open cuducos opened 3 years ago
@kmanaseryan, I believe @cotts and I covered the basic implementation today — justupdated this issue with this info.
I couldn't run it just yet against a live server, but maybe the instance you were troubleshooting the other day (based on ckanext-blob-storage
repo) works and you can cover the items in the Acceptance tests. Feel free to jump in, here and test it, or to advance to #10 (also based on the snippet in this issue, if that helps).
@cuducos and @cotts just finished understanding the main idea in a more detailed way. I've been able to configure Cypress for my local CKAN (which actually doesn't have blob storage extension). Able to run Cypress tests, some of them are failing locally, (which we are expecting) and some of them are running. I see how Mocha is setup 👍
Today I wanted to jump into issue #10, but realized there are some work I can do in this issue. So basically this what I'm going to do next:
For some tests (non-browser based integration tests) we need to run libraries outside of Cypress (as seen on #8). A better way to handle that would be to also have Mocha setup in parallel with Cypress.
Roadmap
before
hook to create an organization DONE f8dc86f7069b7092a3dd6a35d8dd23fa9744a8b1after
hook to delete the organization DONE f8dc86f7069b7092a3dd6a35d8dd23fa9744a8b1Acceptance
*NOTE: Cypress still have some tests that are failing and this is not a blocker for this issue (see #12).
Reference
This is some example of what we've tried to implement using Cypress, this expresses the
after
andbefore
logic intended here: