Skip to content

Commit b919a27

Browse files
committed
test(docs-app): access provider that is the same in 1.6 and master
1 parent a675ea0 commit b919a27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/app/e2e/table-of-contents.scenario.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
describe('table of contents', function() {
99

1010
it('on provider pages', function() {
11-
browser.get('build/docs/index.html#!/api/ng/provider/$controllerProvider');
11+
browser.get('build/docs/index.html#!/api/ng/provider/$interpolateProvider');
1212

1313
var toc = element.all(by.css('toc-container > div > toc-tree'));
1414
toc.getText().then(function(text) {
@@ -19,7 +19,7 @@ describe('table of contents', function() {
1919
var tocFirstLevel = element.all(by.css('toc-container > div > toc-tree > ul > li'));
2020

2121
tocFirstLevel.then(function(match) {
22-
expect(match.length).toBe(2);
22+
expect(match.length).toBe(3);
2323

2424
expect(match[1].all(by.css('li')).count()).toBe(2);
2525
});

0 commit comments

Comments
 (0)