Add some automated tests

Created on 20 February 2020, over 4 years ago
Updated 28 March 2020, over 4 years ago

I think adding some automated tests might help to solve some issues. I am not aiming for full test coverage, but on the short term these might be useful:

  • Kernel HighContrastConfigOverrideTest to ensure that the high contrast logo is returned from the configuration.
  • (Can be based on https://git.drupalcode.org/project/whitelabel/blob/8.x-2.x/tests/src/Ker...)

  • Functional HighContrastCacheTest to ensure that cache contexts are applied correctly and the right CSS file is served. Also ensure that changing te settings updates the cached result.
  • FunctionalJavascript HighContrastBlockTest to ensure that all switching methods work.

This can also be used to trigger deprecation notices and to prevent WSODs during installation..

πŸ“Œ Task
Status

Postponed

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Neograph734 Netherlands

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.69.0 2024