--- name: debug-integration-test description: | Debug failing Sculptor frontend integration tests. Use when integration tests fail and you need to diagnose the root cause. Covers common failure modes, how to read test logs, and investigation strategies. --- # Debugging Sculptor Integration Tests Use this skill when an integration test fails and you need to find the root cause. ## Common Failure Modes ### 1. Playwright TimeoutError on Disabled/Missing Element **Symptom:** Test fails with `playwright._impl._errors.TimeoutError: Locator.click: Timeout 30000ms exceeded` and the call log shows the element was found but remained **disabled** or **not visible**. **Example error output:** ``` E playwright._impl._errors.TimeoutError: Locator.click: Timeout 30000ms exceeded. E Call log: E - waiting for get_by_test_id("TASK_STARTER").get_by_test_id("BRANCH_SELECTOR") E - locator resolved to