Skip to content

Commit fce6271

Browse files
committed
docs(website): corrected broken links
1 parent 9c9e2c1 commit fce6271

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/blog/2025-06-20-playwright-worker-scope-actors/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ For the deep dive, check out the [Serenity/JS integration guide for Playwright T
3838
Serenity/JS 3.32 introduces support for [Playwright Test worker-scope fixtures](https://playwright.dev/docs/test-fixtures#worker-scoped-fixtures),
3939
allowing you to use actors in `beforeAll` and `afterAll` hooks.
4040

41-
To use actors in a `beforeAll` or `afterAll` hook, use the [`actorCalled`](https://serenity-js.org/api/playwright-test/interface/SerenityFixtures/#actorCalled) fixture:
41+
To use actors in a `beforeAll` or `afterAll` hook, use the [`actorCalled`](https://serenity-js.org/api/playwright-test/interface/SerenityWorkerFixtures/#actorCalled) fixture:
4242

4343
```ts title="github.spec.ts"
4444
import { afterAll, beforeAll, describe, it } from '@serenity-js/playwright-test'

src/docs/handbook/test-runners/playwright-test.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ describe('Todo App', () => {
608608
609609
### Overriding abilities via `test.use`
610610
611-
To avoid adding or overriding abilities inline, you can do so globally by overriding the [`actorCalled`](/api/playwright-test/interface/SerenityFixtures/#actorCalled) fixture
611+
To avoid adding or overriding abilities inline, you can do so globally by overriding the [`actorCalled`](/api/playwright-test/interface/SerenityWorkerFixtures/#actorCalled) fixture
612612
via [`test.use`](/api/playwright-test/function/test/#use):
613613
614614
```ts title="./spec/todo_app.spec.ts"
@@ -631,7 +631,7 @@ describe('Todo App', () => {
631631
632632
### Overriding abilities via `useFixtures`
633633
634-
You can override the [`actorCalled`](/api/playwright-test/interface/SerenityFixtures/#actorCalled) fixture globally using the [`useFixtures`](/api/playwright-test/function/useFixtures/) function.
634+
You can override the [`actorCalled`](/api/playwright-test/interface/SerenityWorkerFixtures/#actorCalled) fixture globally using the [`useFixtures`](/api/playwright-test/function/useFixtures/) function.
635635
This function returns a test API, including functions such as `describe`, `it`, `beforeEach`, or `test`, which you can use instead of the default ones to define test scenarios.
636636
637637
```ts title="./spec/test-api.ts"
@@ -725,9 +725,9 @@ If your scenario requires more actors using separate browser instances, you can
725725
### Sharing notes between actors
726726
727727
[By default](#modifying-default-abilities), each actor receives an ability to [`TakeNotes`](/api/core/class/TakeNotes/) using their own [notepad](/api/core/class/Notepad/).
728-
To share notes between actors, you can introduce a `notepad` fixture and override the default [`actorCalled`](/api/playwright-test/interface/SerenityFixtures/#actorCalled) function to make the actors reuse the same notepad.
728+
To share notes between actors, you can introduce a `notepad` fixture and override the default [`actorCalled`](/api/playwright-test/interface/SerenityWorkerFixtures/#actorCalled) function to make the actors reuse the same notepad.
729729
730-
Overriding the [`actorCalled`](/api/playwright-test/interface/SerenityFixtures/#actorCalled) function allows you to customise the abilities of the actors created via the `actorCalled` fixture,
730+
Overriding the [`actorCalled`](/api/playwright-test/interface/SerenityWorkerFixtures/#actorCalled) function allows you to customise the abilities of the actors created via the `actorCalled` fixture,
731731
as well as the default actor injected via the [`actor`](/api/playwright-test/interface/SerenityFixtures/#actor) fixture.
732732
733733
```ts title="./spec/test-api.ts"
@@ -838,7 +838,7 @@ export const { describe, it, beforeEach, test } = useFixtures<{ notepad: Notepad
838838
})
839839
```
840840
841-
Overriding `actors` replaces the cast used to configure the actors instantiated via the [`actorCalled`](/api/playwright-test/interface/SerenityFixtures/#actorCalled) fixture, as well as the default actor injected via the [`actor`](/api/playwright-test/interface/SerenityFixtures/#actor) fixture.
841+
Overriding `actors` replaces the cast used to configure the actors instantiated via the [`actorCalled`](/api/playwright-test/interface/SerenityWorkerFixtures/#actorCalled) fixture, as well as the default actor injected via the [`actor`](/api/playwright-test/interface/SerenityFixtures/#actor) fixture.
842842
843843
## Reporting
844844

src/docs/handbook/tutorials/your-first-web-scenario.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Playwright Test [`test.describe`](https://playwright.dev/docs/api/class-test#tes
8989
In addition to the functionality offered by Playwright [`test`](https://playwright.dev/docs/api/class-test#test-call) function, Serenity/JS [`it`](/api/playwright-test/function/it)
9090
wrapper offers [Serenity/JS-specific test fixtures](/api/playwright-test/interface/SerenityFixtures),
9191
such as [`actor`](/api/playwright-test/interface/SerenityFixtures#actor),
92-
[`actorCalled`](/api/playwright-test/interface/SerenityFixtures#actorCalled),
92+
[`actorCalled`](/api/playwright-test/interface/SerenityWorkerFixtures/#actorCalled),
9393
or [`crew`](/api/playwright-test/interface/SerenityFixtures/#crew).
9494
I'll tell you about them in a moment, but first, let's run the scenarios.
9595

0 commit comments

Comments
 (0)