Warning: You are browsing the documentation for PrestaShop 8, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

UI Tests

Introduction

We have some user interface tests (sometimes called web acceptance tests). These tests launch and control a browser, and perform several actions to check that the behavior, from the point of view of a real user, is as expected. These tests send actual HTTP requests and check the returned DOM.

These tests can be found in UI folders.

Stack

UI tests work by controlling a browser and using the web interface like a real user.

We use the following stack:

Execute & Create tests

Everything is explained in README in the tests/UI folder. You’ll need a working installation of PrestaShop in order to run the tests.

Next: How to create your own UI tests ›