Skip to main content

Data structures

All the activities performed by Serenity/JS actors are asynchronous, and so are the data structures that support them. Serenity/JS introduces several async-first, dynamic abstractions around the native JavaScript data structures and data types to support writing test scenarios following the Screenplay Pattern.

In this article, I'll show you how the below idiomatic Serenity/JS data structures work and how to use them in your scenarios: