Test compatibility between Environment Indicator and Workspaces modules

Created on 15 January 2025, 4 months ago

Problem/Motivation

The Environment Indicator module is designed to visually indicate to users which environment they are on (e.g., development, staging, production). This functionality helps prevent potentially catastrophic issues by ensuring users are aware of the environment they're working in. If the module fails, it could have serious consequences for site owners.

At the same time, itโ€™s essential that the Environment Indicator module does not interfere with the functionality of other modules that users depend on, such as the Workspaces module. Recent reports indicate that workspace indicator colors in the toolbar are being overwritten by the Environment Indicator, potentially confusing users by displaying the same color for all workspaces.

Module maintainers face a significant challenge in testing each merge request across all possible scenarios, as this is time-consuming and can slow development progress. By adding automated PHPUnit functional tests, we can help maintainers ensure compatibility with other modules, like Workspaces, and increase confidence when merging new changes.

See ๐Ÿ› fgColor not being picked up. RTBC

Steps to reproduce

  1. Install the Environment Indicator module.
  2. Install and enable the Workspaces module.
  3. Configure distinct workspace colors in the Workspaces module.
  4. Observe the toolbar when switching between workspaces.

Proposed resolution

  • Develop PHPUnit functional tests to verify compatibility between the Environment Indicator module and the Workspaces module.
  • Specifically, ensure that:
    • Workspace-specific indicator colors remain distinct and unaffected by the Environment Indicator.
    • The Environment Indicator continues to function correctly without interfering with the Workspaces module.

Remaining tasks

Create tests

User interface changes

N/A

API changes

N/A

Data model changes

N/A

โœจ Feature request
Status

Active

Version

4.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States trackleft2 Tucson, AZ ๐Ÿ‡บ๐Ÿ‡ธ

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

Comments & Activities

Production build 0.71.5 2024