Skip to content

Commit 1001a9b

Browse files
committed
update doc
1 parent 5b742a7 commit 1001a9b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/resources/blogs/testing-kafka-workflows-playwright.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ Imagine this workflow:
3737
- Our **test** (written in Playwright) acts as the foreign system:
3838
1. It produces a command message to `document.send-command` using Mokapi’s REST API.
3939
2. It waits for the backend to process the command.
40-
3. It retrieves the resulting event from `document.send-event` and verifies the contents (such as `documentId` and `status`).
40+
3. It retrieves the resulting event from `document.send-event` and verifies the contents (such as `documentId` and `status`).
41+
42+
<img src="/kafka-workflow.png" alt="Sequence diagram of Kafka workflow testing with Mokapi, Playwright, and a backend service" title="Kafka workflow testing with Mokapi and Playwright">
4143

4244
This mirrors what happens in production: a message-driven workflow across multiple services. The only difference is
4345
that for testing, Kafka itself is mocked by Mokapi.

webui/public/kafka-workflow.png

106 KB
Loading

0 commit comments

Comments
 (0)