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
In order to avoid crashed tests with cypress, because of the too long time response for the loading/ downloading/ uploading, the use of aliases into the tests will be good.
Is your feature request related to a problem? Please describe.
Sometimes, the loading/ uploading/ downloading is too long for the tests, so they crashed.
Describe the solution you'd like
The use of aliases with the wait keyword, will fix this problem.
The wait keyword could wait with a specific time (like all the tests right now) AND with a condition too, like "you wait until this event is triggered".
So instead of putting a wait of 2 seconds, for example, we could put a wait until a specific toast is displayed (the toast is the one telling that the download/ load/ upload is done)
The text was updated successfully, but these errors were encountered:
[FEATURES] Add wait aliases for cypress tests
Description
In order to avoid crashed tests with cypress, because of the too long time response for the loading/ downloading/ uploading, the use of aliases into the tests will be good.
Is your feature request related to a problem? Please describe.
Sometimes, the loading/ uploading/ downloading is too long for the tests, so they crashed.
Describe the solution you'd like
The use of aliases with the wait keyword, will fix this problem.
The wait keyword could wait with a specific time (like all the tests right now) AND with a condition too, like "you wait until this event is triggered".
So instead of putting a wait of 2 seconds, for example, we could put a wait until a specific toast is displayed (the toast is the one telling that the download/ load/ upload is done)
The text was updated successfully, but these errors were encountered: