CON-1809 | Fix overlapping of anchored element

could you create separate test for successful and failure results? If you have a set for cases for one test consider creating an array of cases and creating a loop