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.

scenario runner should allow future value as argument #429

Closed
@vojtajina

Description

@vojtajina
it('async expectation', function() {
  browser().navigateTo('index.html');

  var countBefore = element('ul#test li').count();

  // here is code which adds a node

  // this does not work - the future has no value yet
  expect(element('ul#suck li').count()).toEqual(count.value + 1);
});

This this topic for more info: https://groups.google.com/forum/#!topic/angular/FszMlvnrQfY

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