diff --git a/test/e2e/docsAppE2E.js b/test/e2e/docsAppE2E.js index b919e87a4..91d84746e 100644 --- a/test/e2e/docsAppE2E.js +++ b/test/e2e/docsAppE2E.js @@ -68,4 +68,11 @@ describe('docs.angularjs.org', function () { expect(element(by.css('.minerr-errmsg')).getText()).toEqual("Argument 'Missing' is not a function, got undefined"); }); }); + + describe("templates", function() { + it("should show parameter defaults", function() { + browser.get('index-debug.html#!/api/ng/service/$timeout'); + expect(element.all(by.css('.input-arguments p em')).first().getText()).toContain('(default: 0)'); + }); + }); });