Skip to content

[SD-1292] content collection UI tests#732

Open
lambry wants to merge 10 commits intofeature/SD-1292-content-collection-uifrom
feature/SD-1292-content-collection-ui-testing
Open

[SD-1292] content collection UI tests#732
lambry wants to merge 10 commits intofeature/SD-1292-content-collection-uifrom
feature/SD-1292-content-collection-ui-testing

Conversation

@lambry
Copy link
Contributor

@lambry lambry commented Feb 4, 2026

JIRA issue: https://digital-vic.atlassian.net/browse/SD-1314

Changed

  • Add basic content collection tests
    • This checks the landing page component exists, can be added to a page, and can be interacted with
    • It also checks that the custom node autocomplete endpoint is working, as well as the taxonomies and terms JSON API endpoints
    • And it checks that the component is 'hydrated' with the correct 'live' data from Drupal i.e. the page titles and term names
  • Secondary: Wrap Drupal::service('tide_site_restriction.helper') in try catch

@MdNadimHossain I've done this as a PR to the main content collection branch so the changes can easily be seen and reviewed. Cheers

wrap Drupal::service('tide_site_restriction.helper') in try catch, add
@lambry lambry self-assigned this Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants