created a ui test for get data attribute