Adding Spec for the BUG

Related Work Items: #17484
ui test fix