Skip to content

Commit 6e5d45d

Browse files
juwalterjamesdaily
authored andcommitted
docs(tutorial/step-07): update path to pages in e2e scenarios
The url paths in the tutorial are not in line with the actual tutorial code Closes angular#5264
1 parent c80258d commit 6e5d45d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/tutorial/step_07.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,15 @@ to various URLs and verify that the correct view was rendered.
258258
<pre>
259259
...
260260
it('should redirect index.html to index.html#/phones', function() {
261-
browser().navigateTo('../../app/index.html');
261+
browser().navigateTo('app/index.html');
262262
expect(browser().location().url()).toBe('/phones');
263263
});
264264
...
265265

266266
describe('Phone detail view', function() {
267267

268268
beforeEach(function() {
269-
browser().navigateTo('../../app/index.html#/phones/nexus-s');
269+
browser().navigateTo('app/index.html#/phones/nexus-s');
270270
});
271271

272272

0 commit comments

Comments
 (0)