Skip to content
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
Closed
@vojtajina

Description

@vojtajina
// 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions