Area: FabricArea: TestsNew ArchitectureWorkstream: Test Coverageenhancementgood first issue
仓库指标
- Star
- (6,114 star)
- PR 合并指标
- (平均合并 4天 14小时) (30 天内合并 45 个 PR)
描述
Test cases should be added to the E2E test app (Fabric) to validate the following functionality scenarios.
### Tasks
- [x] Switch should not toggle when disabled.
- [ ] Switch should fire onChange action when toggled.
- [ ] Switch should fire onValueChange action when toggled.
- [ ] Switch thumbColor should update upon fast refresh.
- [ ] Switch trackColor should change upon fast refresh.
- [ ] Switch trackColor should not change upon hover.
- [x] Switch value should match Switch visuals.
- [x] Switch visuals should change upon toggle (on -> off).
- [x] Switch visuals should change upon toggle (off -> on).