From d52e9839ad3e1ec97466d9305174156e5c6aedd4 Mon Sep 17 00:00:00 2001 From: Ruslan Keba Date: Tue, 19 Apr 2016 12:28:02 +0300 Subject: [PATCH 1/2] Wrong command case fixed --- docs/waitForJqueryAjaxRequest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/waitForJqueryAjaxRequest.md b/docs/waitForJqueryAjaxRequest.md index 9ce6ed6..f5132bb 100644 --- a/docs/waitForJqueryAjaxRequest.md +++ b/docs/waitForJqueryAjaxRequest.md @@ -8,7 +8,7 @@ maxTimeInMilliseconds (which fails the test). Nightwatch uses the Node.js EventEmitter pattern to handle asynchronous code so this command is also an EventEmitter. ### Examples: - browser.WaitForJqueryAjaxRequest(); + browser.waitForJqueryAjaxRequest(); Author: maxgalbu From a9d6f47b17512bfd2f57336ab13a457610200ea2 Mon Sep 17 00:00:00 2001 From: Massimo Galbusera Date: Thu, 21 Apr 2016 00:15:36 +0200 Subject: [PATCH 2/2] change coffee docs too --- coffee/commands/waitForJqueryAjaxRequest.coffee | 2 +- js/commands/waitForJqueryAjaxRequest.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coffee/commands/waitForJqueryAjaxRequest.coffee b/coffee/commands/waitForJqueryAjaxRequest.coffee index d7d2d4f..164ae7a 100644 --- a/coffee/commands/waitForJqueryAjaxRequest.coffee +++ b/coffee/commands/waitForJqueryAjaxRequest.coffee @@ -8,7 +8,7 @@ events = require('events'); * * h3 Examples: * - * browser.WaitForJqueryAjaxRequest(); + * browser.waitForJqueryAjaxRequest(); * * @author maxgalbu * @param {Integer} [timeoutInMilliseconds] - timeout of this wait commands in milliseconds diff --git a/js/commands/waitForJqueryAjaxRequest.js b/js/commands/waitForJqueryAjaxRequest.js index 938781b..5e5d557 100644 --- a/js/commands/waitForJqueryAjaxRequest.js +++ b/js/commands/waitForJqueryAjaxRequest.js @@ -13,7 +13,7 @@ events = require('events'); * * h3 Examples: * - * browser.WaitForJqueryAjaxRequest(); + * browser.waitForJqueryAjaxRequest(); * * @author maxgalbu * @param {Integer} [timeoutInMilliseconds] - timeout of this wait commands in milliseconds