Skip to content

Tips and Tricks

John S edited this page Apr 24, 2018 · 16 revisions
  1. PHPStorm 2017.1+ Codeception Support

  2. PHPStorm 2017 Template Files

  3. Metadata

    1. If you are automating a feature of the Admin that is used often, i.e. "Adding a Product", you should look into creating the Metadata for the object you are trying to create via the UI. This will allow you to quickly setup the same entity in the future without "driving" the UI saving you LOTS of time in your test.
    2. TOOL(s)
      • Charles Proxy - Capture Network Traffic: https://www.charlesproxy.com/download/
        1. Start Charles Proxy and begin recording. Charles Proxy Recording
        2. Create the entity you need using the Admin UI. Save Entity via Admin UI
        3. Locate the POST request for your Store. Charles Proxy POST
        4. The POST request will have most of the details that you will need for your MetaData. MFTF Metadata XML
  4. Action Groups

    1. Available Action Groups worth noting:
      1. LoginAsAdmin
      2. LogoutOfAdmin
      3. AdminSaveAndClose
      4. AdminGridSearchByKeyword(VALUE)
      5. AdminGridFilterSearchResultsByInput(SELECTOR, VALUE)
      6. AdminClearGridFiltersIfPresent
  5. List Existing Files

    1. CD to the acceptance test directory:
      • cd [PATH_TO_MAGENTO_MSI]/dev/tests/acceptance
    2. Locate a list of Action Groups, Pages, Sections, Data and Meta Data using the following Terminal commands:
      • ls -lG tests/functional/Magento/FunctionalTest/*/ActionGroup
      • ls -lG tests/functional/Magento/FunctionalTest/*/Data
      • ls -lG tests/functional/Magento/FunctionalTest/*/Metadata
      • ls -lG tests/functional/Magento/FunctionalTest/*/Page
      • ls -lG tests/functional/Magento/FunctionalTest/*/Section

MSI Documentation:

  1. Technical Vision. Catalog Inventory
  2. Installation Guide
  3. List of Inventory APIs and their legacy analogs
  4. MSI Roadmap
  5. Known Issues in Order Lifecycle
  6. MSI User Guide
  7. DevDocs Documentation
  8. User Stories
  9. User Scenarios:
  10. Technical Designs:
  11. Admin UI
  12. MFTF Extension Tests
  13. Weekly MSI Demos
  14. Tutorials
Clone this wiki locally