question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The `its` command doesn't accept a log option (logging can't be disabled)

See original GitHub issue

Current behavior:

cy.window({ log: false }).its('something', { log: false }) throws an error because no options object is supported. (The docs bear this out as well).

Desired behavior:

I should be able to suppress logging using its('something', { log: false }) or the its command should inherit the log level from the previous call (if this is currently the expected behavior I’ll investigate further and create a reproduction, I didn’t see a mention of this in the docs).

Also, I would think that the its command should accept a timeout property.

  • Cypress Version: 2.1.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
wildaces215commented, May 16, 2018

I would like handle it!

0reactions
cypress-bot[bot]commented, Dec 12, 2019

Released in 3.8.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the Enable logging (troubleshooting) option?
Type of log file Subfolder Outlook 2013 Outlook 2010 Outlook 2007 Outlook Autodiscover Temp No Yes Yes Exchange ActiveSync Temp/EASLogFiles Yes No No Availability service Temp/OlkAS...
Read more >
System Message Logging - Cisco
To disable logging to the console, use the no logging console command in global configuration mode. To disable logging to a terminal other...
Read more >
Enabling continuous logging for AWS Glue jobs
You can enable continuous logging using the AWS Glue console or through the AWS Command Line Interface (AWS CLI). You can enable continuous...
Read more >
Logging command
To configure a syslog service, use the logging syslog-ip-addr command as shown below. When you configure a syslog server, Event Log messages are...
Read more >
17.1.6.4 Binary Logging Options and Variables
If you do not supply the --log-bin option, MySQL uses binlog as the default base ... If binary logging is disabled for the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found