tests(e2e): fix protractor tests for new api