O'Reilly logo

Ext JS Essentials by Stuart Ashworth, Andrew Duncan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing UI interaction

One of the big benefits of Siesta is its ability to test real UI interactions, allowing us to create automated, repeatable tests, based on the way the application is actually rendered and how a real user would interact with it.

In this section, we will test the product grid that we created in Chapter 7, Constructing Common UI Widgets. We will look at testing how it has been rendered and then move on to testing clicks on the grid row's Details button.

Testing cell contents

To kick off, we are going to test whether each cell of the grid renders the correct values based on the data in the store it is bound to. This will catch any issues with field names changing and grid column configurations.

We start by creating a new test suite, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required