Test the module and overhaul its code in the process.

Created on 6 March 2022, over 2 years ago
Updated 17 August 2023, about 1 year ago

At the time of writing, there's only a single test and it only checks that the manifest output contains a cache tag. Given the increasing complexity of this module, and that it's intended to handle some fundamental things between the browser and server, I think adding robust and comprehensive tests is a must have. I'll expand this issue over time for 🌱 PWA module 3.x roadmap Active with details.

What should be tested:

  1. Install / uninstall
  2. manifest.json present on the expected pages
  3. Permissions
  4. Contents of the manifest.json to match the values from the settings page
  5. Returned paths / URLs from the manifest.json working, e.g. images
  6. Drupal login / logout with PWA enabled, as there were issues in the past

Documentation links

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇦Canada ambient.impact Toronto

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024