Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

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 ›