You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the result of calling that method with force = false.
After some digging I can say that this happens when you pass { force: false } to the .click() method, which is the default value for force
Desired behavior:
Even if you are passing an option, with the default value we could just ignore it, or show the actual value you are passing. I think ignoring it, or displaying some hint text would be great.
Having an Object{11} is really misleading.
Steps to reproduce:
call .click({ force: false })
I haven't tested the defaults for other commands, but it could be happening.
This is a duplicate of #678. It's because we mutate the user options with the default options and then log them all. It's the case for probably all commands. There's some work that's been done towards fixing this in this PR. It could be fixed per command, though a solution that solves it for all commands (plus any future commands) would be ideal.
Current behavior:
This is the result of calling that method with force = false.
After some digging I can say that this happens when you pass { force: false } to the .click() method, which is the default value for
force
Desired behavior:
Even if you are passing an option, with the default value we could just ignore it, or show the actual value you are passing. I think ignoring it, or displaying some hint text would be great.
Having an Object{11} is really misleading.
Steps to reproduce:
call
.click({ force: false })
I haven't tested the defaults for other commands, but it could be happening.
The issue seems to be around here
cypress/packages/driver/src/cypress/utils.coffee
Line 140 in dd56faf
Versions
v3.1.2, Mac OSX Mojave, Chrome
#88
The text was updated successfully, but these errors were encountered: