SAP / spartacus

Spartacus is a lean, Angular-based JavaScript storefront for SAP Commerce Cloud that communicates exclusively through the Commerce REST API.
Apache License 2.0
744 stars 389 forks source link

OMS configuration to reduce time for creating Order History entry after completing and order #6218

Closed psmul closed 4 years ago

hackergil commented 4 years ago

I tested with task.polling.interval.min=0 and the order processing is not immediate. We need to think about how to structure order history tests

plabadie commented 4 years ago

Spartacus PR: #6322 Backend PR: https://github.tools.sap/cx-commerce/c3po-legacy-devconfigs/pull/18 (Dev12 server manually updated with task.polling.interval.min=0)

After trying task.polling.interval.min=0 on dev-12 the regression suite still runs well: https://jkmaster.test.c3po.b2c.ydev.hybris.com/job/spartacus-regression-tests/783/consoleText

After pushing a commit that re-enables the tests that depend on the order history, I see that all the re-enabled tests now pass: https://jkmaster.test.c3po.b2c.ydev.hybris.com/job/spartacus-regression-tests-for-branch/142/consoleText

The re-enabled tests are part of: cypress/integration/regression/site-context/language/language-my-account-pages.e2e-spec.ts cypress/integration/regression/asm.e2e-spec.ts cypress/integration/mobile/asm-mobile.e2e-spec.ts cypress/integration/mobile/checkout/checkout-flow-mobile.e2e-spec.ts cypress/integration/smoke/checkout-flow.e2e-spec.ts cypress/integration/regression/checkout/checkout-as-guest.e2e-spec.ts cypress/integration/regression/my-account/order-history-orders-flow.e2e-spec.ts cypress/integration/mobile/my-account/order-history-orders-flow-mobile.e2e-spec.ts