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
cy.wrap is ignoring provided timeout param and defaults to defaultCommandTimeout
Desired behavior
cy.wrap should use timeout provided on command use and default to defaultCommandTimeout only if timeout is not provided
Test code to reproduce
describe('Cypress wait',()=>{it('wrap does not wait',()=>{cy.wrap(performAsyncTask(),{timeout: 20000})});});functionperformAsyncTask(){returnnewPromise((resolve,reject)=>{setTimeout(()=>{resolve('Task completed successfully');},8000);});}
Cypress Version
13.3.0
Node version
18.15.0
Operating System
macOS 13.6
Debug Logs
No response
Other
This seem to be regression as it was fixed in the past - #5980
The text was updated successfully, but these errors were encountered:
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
Current behavior
cy.wrap is ignoring provided timeout param and defaults to defaultCommandTimeout
Desired behavior
cy.wrap should use timeout provided on command use and default to defaultCommandTimeout only if timeout is not provided
Test code to reproduce
Cypress Version
13.3.0
Node version
18.15.0
Operating System
macOS 13.6
Debug Logs
No response
Other
This seem to be regression as it was fixed in the past - #5980
The text was updated successfully, but these errors were encountered: