1. Identify the feature to be tested and its location in the codebase.
2. Choose the appropriate test setup pattern (e.g., `setupOrReset`, shared page, with shapes).
3. Write the test using Playwright, interacting with the editor or UI elements.
4. Use assertions to verify the expected behavior.
5. Handle platform-specific differences (e.g., modifier keys, mobile).
6. Run the test and analyze the results.
7. Address any failures and consider skipping flaky tests.