Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055529
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Adyenminorhave not tried2024-05-20 16:142024-05-20 17:28
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055529: Adyen unit tests sleep for more than four seconds

DescriptionAdyen unit tests make use of the mock rest function *OB.ADYMOCKREST.restRequest*
This function resolves in 2 seconds because a sleep in the mocked request function.
Steps To ReproduceExecute

 npm run test modules/org.openbravo.retail.adyenprovider

And observe the time the tests exectution take. For example:

-> % npm run test modules/org.openbravo.retail.adyenprovider
                                                                                                                                                                                               
> test
> $npm_package_config_test modules/org.openbravo.retail.adyenprovider
                                                                                                                                                                                               
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme [^]
 PASS modules/org.openbravo.retail.adyenprovider/web-test/provider/AdyenPrintReceipt.test.js
 PASS modules/org.openbravo.retail.adyenprovider/web-test/provider/AdyenRestRequest.test.js
 PASS modules/org.openbravo.retail.adyenprovider/web-test/provider/AdyenProvider.test.js

Test Suites: 3 passed, 3 total
Tests: 23 passed, 23 total
Snapshots: 0 total
Time: 5.339 s
Ran all test suites matching /modules\/org.openbravo.retail.adyenprovider/i.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0164831)
hgbot (developer)
2024-05-20 16:17

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.adyenprovider/-/merge_requests/41 [^]

- Issue History
Date Modified Username Field Change
2024-05-20 16:14 adrianromero New Issue
2024-05-20 16:14 adrianromero Assigned To => Triage Platform Conn
2024-05-20 16:14 adrianromero Triggers an Emergency Pack => No
2024-05-20 16:17 hgbot Note Added: 0164831
2024-05-20 17:28 adrianromero Assigned To Triage Platform Conn => adrianromero


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker