This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Allow defering e2e tests #375
Closed
Description
// in e2e test
beforeEach(function() {
browser().navigateTo('index.html#any-has');
waitFor('event-name');
});
// in app under test
if (angular.isDefined(fireEvent)) fireEvent('event-name');
That would be helpful if user wants to use for example async script loading, since window load
is fired before async scripts are loaded, so it could happen, that test is started before all scripts are loaded.