Merge branch 'hotfix/#7023-test-config-constants-undefined'

Close #7023
Close #7022
#6414-Add a condition for captcha element
Add test for hotfix #6414
Fix test to handle different input tag rendering because of different doctypes
#7030 - importing meaningful classes in form row test
#7030 - refactoring `FormRow`+`Captcha` test
#7030 - adding missing docblocks
#7030 - removing requirement for the form captcha factory
#7030 - adding `@group` test annotation
Merge branch 'hotfix/#7030-captcha-support-in-form-row-helper' into develop

Close #7030
Forward port #7030