When comparing urls in the frontend we are building using $DKTL_PROXY_DOMAIN but the Cypress tests set the base url to web. This causes the dataset file download test to fail as web does not match with sandbox.localtest.me in the Gatsby code.
QA:
In a DKAN instance
dktl make --frontend=cypress-updates-07-24 This branch has passing tests for the Gatsby build.
dktl install --demo The data used for the frontend Cypress tests.
Fixes GetDKAN/dkan-catalog-frontend#57
When comparing urls in the frontend we are building using
$DKTL_PROXY_DOMAIN
but the Cypress tests set the base url to web. This causes the dataset file download test to fail asweb
does not match withsandbox.localtest.me
in the Gatsby code.QA: In a DKAN instance
dktl make --frontend=cypress-updates-07-24
This branch has passing tests for the Gatsby build.dktl install --demo
The data used for the frontend Cypress tests.dktl drush user:create testuser --password="2jqzOAnXS9mmcLasy"
Users needed for backend Cypress tests.dktl drush user-add-role api_user testuser
dktl drush user:create testeditor --password="testeditor"
dktl drush user-add-role administrator testeditor
dktl dkan:test-cypress
Test Cypress Backenddktl dkan:test-cypress frontend
Test Cypress Frontend