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

Commit 37ba3b9

Browse files
test(docsAppE2E): check that param defaults are shown in docs
Closes angular/dgeni-packages#58
1 parent 33a815d commit 37ba3b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/e2e/docsAppE2E.js

+7
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,11 @@ describe('docs.angularjs.org', function () {
6868
expect(element(by.css('.minerr-errmsg')).getText()).toEqual("Argument 'Missing' is not a function, got undefined");
6969
});
7070
});
71+
72+
describe("templates", function() {
73+
it("should show parameter defaults", function() {
74+
browser.get('index-debug.html#!/api/ng/service/$timeout');
75+
expect(element.all(by.css('.input-arguments p em')).first().getText()).toContain('(default: 0)');
76+
});
77+
});
7178
});

0 commit comments

Comments
 (0)