3.1.x testing

FACES-1570
Adjust xpath elements for integration tests according to various versions of Liferay Portal