Store the expanded locators on the page.

STUD-2038
Add test for expand collapse while editing name