Test the "email_spamspan" formatter

Created on 14 July 2023, about 1 year ago

Problem/Motivation

We missed a missing use statement in 3.1.0 due to the fact that we don't test the field formatter for email field types at all.

The scope of this issue is to test the following aspects of the formatter:

  1. Create a SpamSpanFormatterJsTest
  2. Test the formatter configuration form
  3. Since it reuses the existing service which we extensively test through the SpamSpanJsTestBase tests, we can just simply add a couple of complex HTML test to ensure the replacement happens, which asserts both the service and the fact that the JS library is present on the page and the markup is what we expect from the formatter to output.
📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium joevagyok

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

Comments & Activities

  • Issue created by @joevagyok
  • 🇩🇪Germany Anybody Porta Westfalica

    @joevagyok could you do that perhaps or should we leave this to the community?

    We're not using that formatter at all, so I don't think we'll invest time here in the near future.

Production build 0.71.5 2024