From 1b93c63dc53a32f82691470e5102d2ee3e9ccd54 Mon Sep 17 00:00:00 2001 From: Franck Magnan Date: Fri, 5 Sep 2014 18:28:17 +0200 Subject: [PATCH] Update step_03.ngdoc Hello, when I run protactor, I got this error message: ``` Failures: 1) PhoneCat App Phone list view should display the current filter value in the title bar Message: ReferenceError: query is not defined Stacktrace: ReferenceError: query is not defined ``` It's because query is not retrieved from model. So I added it. Hope this helps --- docs/content/tutorial/step_03.ngdoc | 3 +++ 1 file changed, 3 insertions(+) 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*$/);