AltaPay / plugin-magento2

MIT License
0 stars 3 forks source link

Configure terminals automatically using the script file #46

Closed BushraAsif closed 2 years ago

emicha commented 2 years ago

@BushraAsif When and how is this script run?

BushraAsif commented 2 years ago

@BushraAsif When and how is this script run?

This is a part of workflows and we will only use this in Github to run cypress tests.

emicha commented 2 years ago

@BushraAsif When and how is this script run?

This is a part of workflows and we will only use this in Github to run cypress tests.

Isn't altapay_config.php run at bootstrap of the application?

BushraAsif commented 2 years ago

@BushraAsif When and how is this script run?

This is a part of workflows and we will only use this in Github to run cypress tests.

Isn't altapay_config.php run at bootstrap of the application?

Yes, we bootstrap Magento in the custom file(altapay_config.php). But in that file, we commented out the last line which means this will only get triggered when we uncomment it. And we will uncomment it using workflows. Without workflows, the bootstrap wouldn't run.