tests(protractor): add more support for maintain functions in protractor specs