Skip to content

Commit 3b4e6d4

Browse files
authored
Update headings for consistency in documentation
1 parent 67babc4 commit 3b4e6d4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

blog/2025-02-07-automating-qa-with-playwright-and-laravel-workflow.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ With **Playwright** and **Laravel Workflow**, you can achieve just that! In this
2020
* Converts the video to an MP4 format for easy sharing.
2121
* Runs seamlessly in a **GitHub Codespace**.
2222

23-
# The Stack
23+
## The Stack
2424

2525
* **Playwright**: A powerful browser automation tool for testing web applications.
2626
* **Laravel Workflow**: A durable workflow engine for handling long-running, distributed processes.
2727
* **FFmpeg**: Used to convert Playwright’s WebM recordings to MP4 format.
2828

2929
[![](https://mermaid.ink/img/pako:eNpNkl1P2zAUhv-KdS52FbrWNMGNEBOkDSDRDVEE2pJemOaQWiR25NoF1va_z3Zg252Pn_c9Xzo7WKkKIYXnRr2u1lwbcj8tJSHnxcL46FHpF8-W5OjojFwUd1aS24a_v2pRrw1ZrLTozLKU3nPhNfuMd8ZqJJmSG9UgmWmt9GZPsl3_Irmysvp28I4sOH6iw9PiRtUf4uU_9l3tyaxwuYyQFgOYhlby4rM1V6ntGjQ9nfX0_47ucKV0RR5EhS7bZbHgWySP-DQnuWh612VwXflCW_Rje2oUmd-OyVbw0yf99SzP2w7rIL8K8mu3I-Um_UJ-WNNZ49UBX_c9QAS1FhWkRluMoEXdch_CzotKMGtssYTUPSuuX0oo5cF5Oi5_KdV-2rSy9RrSZ95sXGS7ihucCl5r3v791Sgr1JlbrIGUxiEHpDt4g3SUxIPkhMUnI0bj4YQNkwjenYglg2QcJ2wypkMW0_j4EMHvUHY4iMfHE8omdEQpTVjCIsBKuFHn_a2Ekzn8AZMbsr4?type=png)](https://mermaid.live/edit#pako:eNpNkl1P2zAUhv-KdS52FbrWNMGNEBOkDSDRDVEE2pJemOaQWiR25NoF1va_z3Zg252Pn_c9Xzo7WKkKIYXnRr2u1lwbcj8tJSHnxcL46FHpF8-W5OjojFwUd1aS24a_v2pRrw1ZrLTozLKU3nPhNfuMd8ZqJJmSG9UgmWmt9GZPsl3_Irmysvp28I4sOH6iw9PiRtUf4uU_9l3tyaxwuYyQFgOYhlby4rM1V6ntGjQ9nfX0_47ucKV0RR5EhS7bZbHgWySP-DQnuWh612VwXflCW_Rje2oUmd-OyVbw0yf99SzP2w7rIL8K8mu3I-Um_UJ-WNNZ49UBX_c9QAS1FhWkRluMoEXdch_CzotKMGtssYTUPSuuX0oo5cF5Oi5_KdV-2rSy9RrSZ95sXGS7ihucCl5r3v791Sgr1JlbrIGUxiEHpDt4g3SUxIPkhMUnI0bj4YQNkwjenYglg2QcJ2wypkMW0_j4EMHvUHY4iMfHE8omdEQpTVjCIsBKuFHn_a2Ekzn8AZMbsr4)
3030

31-
## 1. Capturing Errors and Video with Playwright
31+
### 1. Capturing Errors and Video with Playwright
3232

3333
The Playwright script automates a browser session, navigates to a given URL, and logs any console errors. It also records a video of the entire session.
3434

@@ -73,7 +73,7 @@ import fs from 'fs';
7373
})();
7474
```
7575

76-
## 2. Running the Workflow
76+
### 2. Running the Workflow
7777

7878
A Laravel console command (`php artisan app:playwright`) starts the workflow which:
7979

@@ -104,7 +104,7 @@ class Playwright extends Command
104104
}
105105
```
106106

107-
## 3. The Workflow
107+
### 3. The Workflow
108108

109109
```php
110110
namespace App\Workflows\Playwright;
@@ -128,7 +128,7 @@ class CheckConsoleErrorsWorkflow extends Workflow
128128
}
129129
```
130130

131-
## 4. Running Playwright
131+
### 4. Running Playwright
132132

133133
```php
134134
namespace App\Workflows\Playwright;
@@ -149,7 +149,7 @@ class CheckConsoleErrorsActivity extends Activity
149149
}
150150
```
151151

152-
## 5. Video Conversion with FFmpeg
152+
### 5. Video Conversion with FFmpeg
153153

154154
The Playwright recording is stored in WebM format, but we need an MP4 for wider compatibility. Laravel Workflow runs this process asynchronously.
155155

@@ -176,7 +176,7 @@ class ConvertVideoActivity extends Activity
176176
}
177177
```
178178

179-
# Try It Now in Your Browser
179+
## Try It Now in Your Browser
180180

181181
You don’t need to set up anything on your local machine. Everything is already configured in the Laravel Workflow [Sample App](https://github.com/laravel-workflow/sample-app).
182182

0 commit comments

Comments
 (0)