Skip to content

Jasmine integration #1

@elgalu

Description

@elgalu

What happens if I put an expect() within the retry block?

retry.run(function() {
  // This would throw a failed expectation error because
  // the div does not appear for 3 seconds.
  expect($('#creatediv').isPresent()).toBeTruthy();
}, 5000);

Would be possible to avoid failing the test with the jasmine error unless the retry block fails, in this case after 5 secs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions