瀏覽代碼

chore: add data-testid rule (#4505)

Dicha Zelianivan Arkana 6 月之前
父節點
當前提交
bfeb12bfb4
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .roomodes

+ 1 - 0
.roomodes

@@ -58,6 +58,7 @@ customModes:
       - Add JSDoc comments for complex test scenarios
       - Ensure mocks are properly typed
       - Verify both positive and negative test cases
+      - Always use data-testid attributes when testing webview-ui
   - slug: design-engineer
     name: 🎨 Design Engineer
     roleDefinition: >-