diff --git a/docs/content/tutorial/step_03.ngdoc b/docs/content/tutorial/step_03.ngdoc index 383da05bdd1d..e95e4062f5da 100644 --- a/docs/content/tutorial/step_03.ngdoc +++ b/docs/content/tutorial/step_03.ngdoc @@ -171,6 +171,9 @@ Let's see how we can get the current value of the `query` model to appear in the }); it('should display the current filter value in the title bar', function() { + + var query = element(by.model('query')); + query.clear(); expect(browser.getTitle()).toMatch(/Google Phone Gallery:\s*$/);