Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.84 KB

mtf_quickstart_magento.md

File metadata and controls

50 lines (34 loc) · 1.84 KB
layout group subgroup title menu_title menu_order version github_link
default
mtf-guide
30_Quickstart
Quick start with the Functional Testing Framework
Prepare Magento application
1
2.1
mtf/mtf_quickstart/mtf_quickstart_magento.md

Prepare Magento application

  • TOC {:toc}

Change WYSIWYG settings

A Selenium web-driver cannot enter data to fields with WYSIWYG. This option disables the WYSIWYG and enables the web-driver to process these fields as simple text areas.

  1. Log in to the Magento Admin as an administrator.
  2. Follow Stores > Configuration > General > Content Management > WYSIWYG Options.
  3. Set Enable WYSIWYG Editor to Disabled Completely.
  4. Click Save Config.

Change content settings{:width="650px"}

Change security settings

Enable the Admin Account Sharing setting to avoid unpredictable logout during testing session. And disable the Add Secret Key in URLs setting to open pages using direct URLs.

  1. Follow Stores > Configuration > Advanced > Admin > Security.
  2. Set Admin Account Sharing to Yes.
  3. Set Add Secret Key to URLs to No.

Change security settings{:width="650px"}

Next Steps

<< Adjust configuration | Prepare environment for test run >>

Refresh page cache

  • Go to Cache Management.

Cache Management message{:width="650px"}

  • Select the check boxes next to Configuration and Page Cache.
  • From the Actions list in the upper left, click Refresh.
  • Click Submit.