From 6d5fedf225243b8498f31a5f3c9b341db3fc7f2d Mon Sep 17 00:00:00 2001 From: David Gilbertson Date: Mon, 5 Mar 2018 11:27:08 +1100 Subject: [PATCH] Update wrap.md (#439) Update variable name in comment $el -> $button --- source/api/commands/wrap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/api/commands/wrap.md b/source/api/commands/wrap.md index f416e999e3..f59128f5ce 100644 --- a/source/api/commands/wrap.md +++ b/source/api/commands/wrap.md @@ -71,7 +71,7 @@ cy.get('form').within(($form) => { cy .get('button') .then(($button) => { - // $el is a wrapped jQuery element + // $button is a wrapped jQuery element if ($button.someMethod() === 'something') { // wrap this element so we can // use cypress commands on it