From affc772342ceb69109dbd8bbc0d53951b03e7c91 Mon Sep 17 00:00:00 2001 From: Bence Szalai Date: Sat, 7 Dec 2024 14:46:32 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9D=20update=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a warning about potential data loss due to database refresh. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0adb7b4..06c7171 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,9 @@ That's it! You're ready to go. We've provided an `laravel-examples.spec.ts` spec yarn playwright test ``` +> [!WARNING] +> The `laravel-examples.spec.ts` spec calls `php artisan migrate:fresh --seed` as one of the examples, so if you have important information in your local database make sure to either remove the [`Can execute arbitrary PHP`](./src/stubs/laravel-examples.spec.ts#L25) test first or switch the database (e.g. set a different `DB_CONNECTION` in your `.env`) + ## TODO - [ ] Make the tests can run in parallel to avoid database collisions From 34d2b020f163eac1443d2d93246ec4be48685554 Mon Sep 17 00:00:00 2001 From: Bence Szalai Date: Sat, 7 Dec 2024 14:53:05 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D=20update=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts this should have a caution severity. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 06c7171..2602fd2 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ That's it! You're ready to go. We've provided an `laravel-examples.spec.ts` spec yarn playwright test ``` -> [!WARNING] +> [!CAUTION] > The `laravel-examples.spec.ts` spec calls `php artisan migrate:fresh --seed` as one of the examples, so if you have important information in your local database make sure to either remove the [`Can execute arbitrary PHP`](./src/stubs/laravel-examples.spec.ts#L25) test first or switch the database (e.g. set a different `DB_CONNECTION` in your `.env`) ## TODO