Loki Checkout Functional Tests

Jump to Developer Docs

This module is for internal use by the Yireo team only (and contributors that want to run tests of the LokiCheckout suite). With this module, other modules are able to run functional tests via Playwright. This includes Playwright sources to be used in Playwright test files. And it includes the option for modules to reconfigure Magento (activate and deactivate modules, change configuration settings and flush caches) by using a simple AJAX call.

Do not run this module in any production environment. Ever. Never.

Playwright tests run in UI mode
Playwright tests run in UI mode

Configuration settings

All configurations are found under Store > Configuration > Yireo > Yireo LokiCheckout.

Account Type > Hide Company when Account Type is Individual
yireo_loki_checkout/account_type/hide_company
With configured to hide, the "Company" field is hidden when the "Account Type" is set to "Individual". Vice versa, if the "Account Type" is set to "Company", the "Company" field is shown.
Account Type > Hide VAT ID when Account Type is Individual
yireo_loki_checkout/account_type/hide_vat_id
With configured to hide, the "VAT ID" field is hidden when the "Account Type" is set to "Individual". Vice versa, if the "Account Type" is set to "VAT ID", the "Company" field is shown.
Account Type > Default value
yireo_loki_checkout/account_type/default
The value to use as default: Either "Company" or "Individual"

Last modified: May 14, 2025