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
Requirement : Execute a setup file ( to generate access tokens) before starting parallel execution of test case.
Mocha provides a --file options which says: Specify file(s) to be loaded prior to root suite execution . The same CLI option is available for mocha-parallel-test but it does not work as expected. Setup file and test suite execution starts simultaneously.
The text was updated successfully, but these errors were encountered:
ayushj158
changed the title
-- FIle CLI is working as expected. File is not executed before the executed of root test suite, they are executed in parallel
-- FIle CLI option is not working as expected. File and test suite are executed simultaneously
Apr 28, 2020
Requirement : Execute a setup file ( to generate access tokens) before starting parallel execution of test case.
Mocha provides a --file options which says: Specify file(s) to be loaded prior to root suite execution . The same CLI option is available for mocha-parallel-test but it does not work as expected. Setup file and test suite execution starts simultaneously.
Command :
mocha-parallel-tests --file specs/initializeEnv.js specs/TestProducts.js --require mocha-steps
Can you please help ?
Logs :
Valdiate the migration of Products from V5 to v2018.
**Products Test Execution **
1) Capture the Products configuration of v18 and v5.
Initializing
✓ Capture the authentication tokens for V18 and V5 APIC system (1986ms)
Capture the Products configuration of v18 and v5.:
Error: Rejecting promise, received status code:401from url:https://api.migration.apie.co.uk/api/catalogs/c4d60884-c366-44f6-bfe5-800d32971c8a/a7b8d0e2-3e89-4de5-9013-22f07d399cb7/products?fields=add(product)
The text was updated successfully, but these errors were encountered: