Skip to content

Update verbiage in Cypress application to display what commands 'yield' as opposed to 'return' #612

@jennifer-shehane

Description

@jennifer-shehane

Is this a Feature or Bug?

Feature

Current behavior:

Cypress has been very careful to update the verbiage in it's documentation to specify what a command 'yields' (and very rarely 'returns'). See the documentation on cy.get() for example.

But, the Cypress app itself often uses the incorrect verbiage of 'returns' when the command actually 'yields'. For example, this is the current log to the console when clicking on a cy.get() command from the Command Log, notice the use of the word Returned:

screen shot 2017-08-30 at 4 03 37 pm

Desired behavior:

The app verbiage should accurately reflect the behavior of the command, whether it yields or returns.

Metadata

Metadata

Assignees

Labels

type: enhancementRequested enhancement of existing feature

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions