You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main intent of this library (IIRC) is to provide a core set of tests and patterns that one can reuse / build on in testing specific CKAN instances. It would be good to provide a short tutorial as to how this would be done.
The text was updated successfully, but these errors were encountered:
I think just some additions to the Usage to make it a little more friendly as per example below.
Does that help?
Usage
Cypress is a standard integration/functional testing library that allows you to interact with your web application as if from a browser (in fact it is a browser). You can read more about Cypress here.
This ckan-integration-tests library provides you with a suite of pre-existing methods that you can use to speed up testing your CKAN-based data management system or portal.
Here we are going to walk you through setting up some automated functional tests for your site using this library.
1. Create a basic Cypress setup
First, let's start by creating a regular Cypress repository (?? what is the repository). TODO link instructions.
TODO: recommend where this to be located e.g. in a separate git repo or next to your existing code?
2. Create a test.js file to wrap-up your Cypress call
...
TODO:
Explain how to choose which tests you run from ckan-integration-tests
Explain how to create a new test but using existing fixtures from ckan-integration-tests
The main intent of this library (IIRC) is to provide a core set of tests and patterns that one can reuse / build on in testing specific CKAN instances. It would be good to provide a short tutorial as to how this would be done.
The text was updated successfully, but these errors were encountered: