Protractor browser.wait doesn’t wait

It is all about promises (actually every protractor question is about promises). browser.wait() is not a blocking call, it schedules a command to wait for a condition: Schedules a command to wait for a condition to hold, as defined by some user supplied function. If any errors occur while evaluating the wait, they will be … Read more

Are user acceptance test (UAT) and end-to-end (E2E) test the same thing?

User Acceptance Test is a phase in a typical software development process. From the other side, End-To-End test is one of the approaches to testing the complex applications which involves all layers of the application to interact with each other during test execution. It means that you can execute End-to-End test in User Acceptance Test … Read more

What is browser.ignoreSynchronization in protractor?

The simple answer is that it makes protractor not wait for Angular promises, such as those from $http or $timeout to resolve, which you might want to do if you’re testing behaviour during $http or $timeout (e.g., a “loading” message), or testing non-Angular sites or pages, such as a separate login page. For example, to … Read more