You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/handbook/design/screenplay-pattern.mdx
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ and readily contribute to the test automation process.
17
17
Serenity/JS implementation of the Screenplay Pattern enables developers to easily introduce this design approach
18
18
even into [existing test automation projects](/handbook/getting-started/#modernising-existing-projects).
19
19
Moreover, the framework
20
-
provides [integration libraries](/handbook/getting-started/architecture/#serenityjs-screenplay-pattern-apis) to
20
+
provides [integration libraries](/handbook/architecture/#serenityjs-screenplay-pattern-apis) to
21
21
facilitate various test automation types, including end-to-end, component, mobile and API testing,
22
22
making it a versatile choice for different testing needs.
23
23
Serenity/JS also provides [reporting tools](/handbook/reporting/) and [code reuse patterns](/handbook/design/) that facilitate
@@ -76,7 +76,7 @@ and a web storefront that lets customers find the products they need and make a
76
76
We'll create a test scenario that uses two actors: one to set up the test data, and one to interact with the web UI.
77
77
78
78
:::tip Serenity/JS Project Templates
79
-
To follow along with the coding, get one of the [**Serenity/JS Project Templates**](/handbook/getting-started/project-templates/) as they come with everything you need to get started with Serenity/JS.
79
+
To follow along with the coding, get one of the [**Serenity/JS Project Templates**](/handbook/project-templates/) as they come with everything you need to get started with Serenity/JS.
80
80
:::
81
81
82
82
### Actors
@@ -476,7 +476,7 @@ Learn more about:
476
476
477
477
Abilities enable actors to perform [**interactions**](/api/core/class/Interaction) with the system under test.
478
478
**Interactions** are **command objects** that instruct an actor how to use their abilities to perform the given activity.
479
-
Most interactions you will need are already provided by [Serenity/JS modules](/handbook/getting-started/architecture),
479
+
Most interactions you will need are already provided by [Serenity/JS modules](/handbook/architecture),
480
480
and you can easily [create new ones](/api/core/class/Interaction) if you'd like to.
481
481
482
482
To instruct an actor to attempt to perform a sequence of interactions, use the [`Actor.attemptsTo`](/api/core/class/Actor#attemptsTo) method.
@@ -1141,9 +1141,9 @@ and making _activities_ the primary component of code reuse in Serenity/JS.
1141
1141
## Start with Serenity/JS Screenplay Pattern 🚀
1142
1142
1143
1143
The easiest way to **experience** working with Serenity/JS and the Screenplay Pattern is
1144
-
to **follow the tutorial** and write [**your first web scenario**](/handbook/web-testing/your-first-web-scenario)!
1144
+
to **follow the tutorial** and write [**your first web scenario**](/handbook/tutorials/your-first-web-scenario)!
1145
1145
1146
-
When you're ready to **start your own test automation project**, use one of the available [**Serenity/JS Project Templates**](/handbook/getting-started/project-templates/)
1146
+
When you're ready to **start your own test automation project**, use one of the available [**Serenity/JS Project Templates**](/handbook/project-templates/)
1147
1147
as they include a handful of Screenplay scenarios and combine some of the most popular configurations of Serenity/JS modules and test automation tools:
1148
1148
1149
1149
- [REST API testing with Cucumber and Serenity/JS](https://github.com/serenity-js/serenity-js-cucumber-template)
@@ -1157,9 +1157,9 @@ To dive even deeper, check out the [Serenity/JS repository](https://github.com/s
1157
1157
and explore the [examples](https://github.com/serenity-js/serenity-js/tree/main/examples).
1158
1158
1159
1159
:::tip Try Serenity/JS in your browser
1160
-
Thanks to [Gitpod.io](/handbook/getting-started/project-templates/#serenityjs-gitpods),
1161
-
you can follow the [web testing tutorial](/handbook/web-testing/your-first-web-scenario)
1162
-
and use any of the [Serenity/JS Project Templates](/handbook/getting-started/project-templates/) right here in your browser,
1160
+
Thanks to [Gitpod.io](/handbook/project-templates/#serenityjs-gitpods),
1161
+
you can follow the [web testing tutorial](/handbook/tutorials/your-first-web-scenario)
1162
+
and use any of the [Serenity/JS Project Templates](/handbook/project-templates/) right here in your browser,
0 commit comments