Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

feat(jasminewd): Return promise from wrapped matcher #719

Closed

Conversation

sgronblo
Copy link
Contributor

  • Allows you to call done from the last expect in an asynchronous test
  • Example
    expect(browser.isElementPresent(by.css('SELECTOR')).toBe(true).then(done);

@juliemr
Copy link
Member

juliemr commented Apr 17, 2014

Automated CLA checker says: please sign CLA at http://code.google.com/legal/individual-cla-v1.0.html Please make sure that the email associated with your PR is the same as the email you use to sign.

@sgronblo sgronblo added cla: no and removed cla: yes labels Apr 17, 2014
- Allows you to call done from the last expect in an asynchronous test
- Example
  expect(browser.isElementPresent(by.css('SELECTOR')).toBe(true).then(done);
@sgronblo
Copy link
Contributor Author

Ah this thing. I should have already signed this thing with my other email. Tried filter-branching and force pushing the branch to change the author email. Do I pass the test now?

@juliemr
Copy link
Member

juliemr commented Apr 17, 2014

CLA signature found, thank you!

@sgronblo sgronblo added cla: yes and removed cla: no labels Apr 17, 2014
@juliemr
Copy link
Member

juliemr commented Apr 17, 2014

What does this fix or enable?

@hankduan
Copy link
Contributor

Is this trying to achieve something like this?
#704

@juliemr
Copy link
Member

juliemr commented Apr 22, 2014

I think this is trying to do the same thing as #704. Please open a new pull request if there is another reason to do this.

@juliemr juliemr closed this Apr 22, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants