Browse Source

chore: add data-testid rule (#4505)

Dicha Zelianivan Arkana 6 tháng trước cách đây
mục cha
commit
bfeb12bfb4
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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: >-