Skip to content

Tips and Tricks

John S edited this page Feb 16, 2018 · 16 revisions

TIPS AND TRICKS

  1. PHPStorm 2017.1+ Codeception Support

  2. Meta Data

    1. If you are automating a feature of the Admin that is used quite 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.
        2. Create the entity you need using the Admin UI.
        3. Locate the POST request for your Store.
        4. The POST request will have most of the details that you will need for your MetaData.
  3. Action Groups

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

    1. 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