[1030889] Fixed unit tests with edit selector and pseudo elements