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
However, I think I'm missing something with the invoked
The invoked bit is essentially a way to mark a command in the command queue so that it can be found again later on. We need this for the retry behavior of .attribute. Specifically when you do something like:
Describe the bug
When you try to use the
.attribute
command, you get:queue.filter is not a function
It looks like Cypress removed the
.filter
method in version 8.3. I played with this locally and it seems to work if I just switch it to use.find
However, I think I'm missing something with the
invoked
To Reproduce
Write any test that uses the
.attribute
commandExpected behavior
The
.attribute
command should not throw an error.Versions and such:
Additional context
The problem line is here:
cypress-commands/src/utils/commandQueue.js
Line 11 in 08adc6c
I cannot seem to find any info on the
.filter
method on Cypress docs or in the issues list.I've seen the problem in Cypress 8.3 and 8.3.1
I can try to do a PR to fix it if that would help.
Thanks!
Ricardo Diaz
The text was updated successfully, but these errors were encountered: