Basic Automated Testing

Created on 16 March 2023, about 2 years ago
Updated 23 March 2023, about 2 years ago

Problem/Motivation

The pantheon_decoupled_umami_demo install profile should contain automated tests that confirm the install profile is functioning as expected.

Proposed resolution

A php unit test can be run manually, which will test the following aspects of pantheon_decoupled_umami_demo:

  • homepage loads and contains example content
  • jsonapi is enabled (/jsonapi returns a 200)
  • Menu items are available via json:api (jsonapi/menu_items/main returns a 200 and includes valid menu items)
  • The jsonapi recipes endpoint is enabled.
  • Documentation is added to the project readme explaining how to run the automated tests.
📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India abhisekmazumdar India

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024