Add a test to verify that the hidden property is reflected properly to the hidden attribute. PR Close #24239
tsc-wrapped