I\'m beginner in the e2e testing and have a problem.
When I do login - I make redirect from login.php to index.php page.
But my test is fails with following errors:
expect(element(by.cssContainingText('body', 'Hello, you are Logged In!')).isPresent()).toBeTruthy();
expect(element.all(by.cssContainingText('body', 'Hello, you are Logged In!')).get(2).isPresent()).toBeTruthy();
If you have more than one time the same text in body in array then