HTML portion of FormValuesTest is not tested

Created on 9 February 2015, over 10 years ago
Updated 16 August 2023, about 2 years ago

FormValuesTest tests a form that's defined in a test module, ajax_forms_test.

Enabling this and going to /ajax_forms_test_get_form shows a form where each element has an AJAX response. Below each element is a short text, and changing a value causes this text to update with the value, to confirm something has happened in the AJAX callback.

However, this HTML value does not appear to checked by the test -- commenting out the code that produces it does not cause the test to fail.

I am not sure whether this is by design or not -- it could be that the updating text is merely meant for humans manually testing the form while developing the tests?

πŸ› Bug report
Status

Closed: outdated

Version

9.5

Component
FormΒ  β†’

Last updated about 1 month ago

Created by

πŸ‡¬πŸ‡§United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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