Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move collection UI e2e test from datajson to catalog app #3325

Closed
1 task done
jbrown-xentity opened this issue Jul 8, 2021 · 0 comments
Closed
1 task done

Move collection UI e2e test from datajson to catalog app #3325

jbrown-xentity opened this issue Jul 8, 2021 · 0 comments
Assignees
Labels
component/catalog Related to catalog component playbooks/roles

Comments

@jbrown-xentity
Copy link
Contributor

jbrown-xentity commented Jul 8, 2021

User Story

In order to have confidence in the collection ui components built across multiple CKAN extensions, data.gov team wants to move the unit test in ckanext-datajson to an integration test on catalog app.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN datasets are created in the catalog app that are related via collections
    WHEN the dataset page is visited happens
    THEN the page contains a button to search through the collection
    AND the search of collections works with the correct number of datasets

Background

Due to logic being separated in multiple ckan extensions (geodatagov and datajson), we want to test this at the application level. This will allow us to remove the ckanext-datajson tests from here, which are causing blockers.

Security Considerations (required)

None

Sketch

Create datasets that are part of a collection, and then evaluate dataset and search pages.
Use test similar to this one
Make sure to upgrade/update ckanext-datajson library.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component/catalog Related to catalog component playbooks/roles
Projects
None yet
Development

No branches or pull requests

3 participants