Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command args are not displayed in the Command Log when options also passed into command #485

Closed
jennifer-shehane opened this issue Apr 13, 2017 · 6 comments
Labels
good first issue Good for newcomers pkg/driver This is due to an issue in the packages/driver directory stale no activity on this issue for a long period type: unexpected behavior User expected result, but got another

Comments

@jennifer-shehane
Copy link
Member

jennifer-shehane commented Apr 13, 2017

Current behavior:

The Command Log displays a specific message for most commands, but for commands that allows args AND options, the args no longer display in the Command Log; only the options display.

Expected behavior:

The args and options should display in the message for each command in the Command Log

How to reproduce the current behavior:

Test code:

it('test', () => {
  cy.visit('https://example.cypress.io/commands/actions')
  cy.get('#action-canvas').click('topRight')                // command log shows 'topRight'
  cy.get('#action-canvas').click('topRight', { force: true }) // command log shows '{force: true}'
})

Additional Info (images, notes, stack traces, etc)

screen shot 2017-04-13 at 4 04 49 pm

  • Operating System: N/A
  • Cypress Version: 0.19.1
@jennifer-shehane jennifer-shehane added the type: unexpected behavior User expected result, but got another label Apr 13, 2017
@jennifer-shehane jennifer-shehane added pkg/driver This is due to an issue in the packages/driver directory stage: ready for work The issue is reproducible and in scope labels Sep 14, 2018
@jennifer-shehane
Copy link
Member Author

This is still occurring in Cypress 3.4.0

@sainthkh
Copy link
Contributor

#5762 will accidentally fix this issue, right? Because it moves options to have its own line.

@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review stage: work in progress and removed stage: ready for work The issue is reproducible and in scope stage: needs review The PR code is done & tested, needs review stage: work in progress labels Jan 27, 2020
@cypress-bot cypress-bot bot added stage: work in progress and removed stage: needs review The PR code is done & tested, needs review labels Feb 12, 2020
@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review stage: work in progress and removed stage: work in progress stage: needs review The PR code is done & tested, needs review labels Jun 22, 2020
@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review stage: work in progress and removed stage: work in progress stage: needs review The PR code is done & tested, needs review labels Aug 27, 2020
@emilyrohrbough
Copy link
Member

Verified in v11.1.0 that this is still and issue.

@Manuel-Suarez-Abascal
Copy link
Contributor

Manuel-Suarez-Abascal commented Apr 4, 2023

@emilyrohrbough @sainthkh iI have opened a PR for review to fix this issue.

@nagash77 nagash77 assigned emilyrohrbough and unassigned sainthkh Apr 5, 2023
@mjhenkes mjhenkes assigned mjhenkes and unassigned emilyrohrbough Apr 11, 2023
@mjhenkes mjhenkes removed their assignment Apr 27, 2023
@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Oct 9, 2023
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers pkg/driver This is due to an issue in the packages/driver directory stale no activity on this issue for a long period type: unexpected behavior User expected result, but got another
Projects
None yet
6 participants