Skip to content

Commit

Permalink
fix(web_worker): wait for bindings in kitchen sink spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbcross committed Feb 26, 2016
1 parent ebe531b commit 4a93f58
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -14,7 +14,9 @@ describe('WebWorkers Kitchen Sink', function() {
browser.get(URL);

browser.wait(protractor.until.elementLocated(by.css(selector)), 15000);
expect(element.all(by.css(selector)).first().getText()).toEqual("hello world!");
var elem = element(by.css(selector));
browser.wait(protractor.until.elementTextIs(elem, 'hello world!'), 5000);
expect(elem.getText()).toEqual("hello world!");

});

Expand Down

0 comments on commit 4a93f58

Please sign in to comment.