Attach is slow
#2521
Replies: 1 comment 6 replies
-
could be because the action is waiting for some navigation to complete.. if you dont want to wait for the resultant actions like XHRs you could pass |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run
attach
it takes 22s to execute.If I use the browser manually the attach is instant.
I have the test ensure the field exists before using attach and I do a console log before and after the attach.
The size of the file is 80Kb and is attached successfully after the 22 seconds.
Any thoughts?
The code being run is similar to
await attach("/someDir/someFile.txt", fileField({ id: "fileInput" }), { force: true });
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions