Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 3495d5d

Browse files
committed
enable pipes e2e testing
For `e2e-spec.js`: If the async test is executed too early it will fail (simply because the async message hasn’t been received yet).
1 parent 0eafccd commit 3495d5d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

public/docs/_examples/pipes/dart/example-config.json

Whitespace-only changes.

public/docs/_examples/pipes/e2e-spec.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ describe('Pipes', function () {
99
expect(element(by.css('hero-birthday p')).getText()).toEqual("The hero's birthday is Apr 15, 1988");
1010
});
1111

12-
it('should show an async hero message', function () {
13-
expect(element.all(by.tagName('hero-message')).get(0).getText()).toContain('hero');
14-
});
15-
1612
it('should show 4 heroes', function () {
1713
expect(element.all(by.css('hero-list div')).count()).toEqual(4);
1814
});
@@ -114,4 +110,8 @@ describe('Pipes', function () {
114110
})
115111
});
116112

113+
it('should show an async hero message', function () {
114+
expect(element.all(by.tagName('hero-message')).get(0).getText()).toContain('hero');
115+
});
116+
117117
});

0 commit comments

Comments
 (0)