7. #*** Set the base URL for your Magento instance ***#
MAGENTO_BASE_URL=http://example.com/M2root/
#*** Set the Admin Username and Password for your Magento instance ***#
MAGENTO_BACKEND_NAME=admin
MAGENTO_ADMIN_USERNAME=admin
MAGENTO_ADMIN_PASSWORD=admin123
#*** Uncomment these properties to set up a dev environment with symlinked
projects ***#
MODULE_WHITELIST=Magento_OnePageCheckout
22. My custom module’s Test file StorefrontCreateCustomerTest.xml
<test name="StorefrontCreateCustomerTest">
<click stepKey="clickBecomeSellerRadioButton"
selector="{{StorefrontCustomerCreateFormSection.becomeSellerRadioButton}}"
before="fillEmail"/>
<fillField stepKey="shopUrl" userInput="{{SellerEntityOne.shopurl}}"
selector="{{StorefrontCustomerCreateFormSection.shopUrlField}}"
after="fillPassword"/>
23. Start selenium web driver -
Generate tests as PHP classes from XML files-
MFTF Directory to run all the commands-
Run all tests-
Run a Single Test -
Generate Reports-