fix(web_worker): wait for bindings in kitchen sink spec
This commit is contained in:
parent
ebe531bf92
commit
4a93f58b8b
|
@ -14,7 +14,9 @@ describe('WebWorkers Kitchen Sink', function() {
|
||||||
browser.get(URL);
|
browser.get(URL);
|
||||||
|
|
||||||
browser.wait(protractor.until.elementLocated(by.css(selector)), 15000);
|
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!");
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue