Skip to content

[Bug] Upload file without input element #355

Description

@sergio-everis

Current behavior:

When I run the test case, I correctly select the element button in the DOM with attachFile() but I cannot upload the file and there isn't any error. It just keep running the next instruction.
I don't have any input in my selected element, only a link i

Desired behavior:

Upload a file properly

run time
image

test code
image

Othes thingsI have tried(adding .click() -> same result but it appears the botton in blue after clicking) :
image

app code:
image

Versions

"cypress-file-upload": "5.0.7"
"cypress": "7.7.0",
Windows
Chrome

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions