From b09d900f95ad7c4a6a600a2c09e4dc92eaf61372 Mon Sep 17 00:00:00 2001 From: Brian Mann Date: Sun, 25 Jun 2017 17:14:15 -0400 Subject: [PATCH] docs: more command yields --- docs/source/api/commands/_scrollintoview.md | 2 +- docs/source/api/commands/_scrollto.md | 2 +- docs/source/api/commands/_trigger.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/api/commands/_scrollintoview.md b/docs/source/api/commands/_scrollintoview.md index 9b1be86678..7470b0d18e 100644 --- a/docs/source/api/commands/_scrollintoview.md +++ b/docs/source/api/commands/_scrollintoview.md @@ -46,7 +46,7 @@ Option | Default | Description ## Yields {% helper_icon yields %} -`.scrollIntoView()` yields the DOM element that was scrolled into view. +{% yields same_subject .scrollIntoView %} ## Timeouts {% helper_icon timeout %} diff --git a/docs/source/api/commands/_scrollto.md b/docs/source/api/commands/_scrollto.md index 1bdf0dd301..e70e5a89bb 100644 --- a/docs/source/api/commands/_scrollto.md +++ b/docs/source/api/commands/_scrollto.md @@ -58,7 +58,7 @@ Option | Default | Description ## Yields {% helper_icon yields %} -`cy.scrollTo()` yields the window or DOM element that was scrolled. +{% yields same_subject cy.scrollTo %} ## Timeouts {% helper_icon timeout %} diff --git a/docs/source/api/commands/_trigger.md b/docs/source/api/commands/_trigger.md index eb05d3ee5a..7b0caf9c0b 100644 --- a/docs/source/api/commands/_trigger.md +++ b/docs/source/api/commands/_trigger.md @@ -68,7 +68,7 @@ You can also include arbitrary event properties (e.g. `clientX`, `shiftKey`) and ## Yields {% helper_icon yields %} -`.trigger()` yields the DOM subject chained from the previous command. +{% yields same_subject .trigger %} ## Timeouts {% helper_icon timeout %}