Microsoft/react-native-windows

Add Functional Tests for Button Component

Open

#12 459 ouverte le 29 nov. 2023

Voir sur GitHub
 (1 commentaire) (1 réaction) (1 assigné)C# (544 forks)batch import
Area: FabricArea: TestsNew ArchitectureWorkstream: Test Coverageenhancementgood first issue

Métriques du dépôt

Stars
 (6 114 stars)
Métriques de merge PR
 (Merge moyen 4j 14h) (45 PRs mergées en 30 j)

Description

Test cases should be added to the E2E test app (Fabric) to validate the following functionality scenarios.

### Tasks
- [ ] Button text should update on fast refresh.
- [ ] Button color should update on fast refresh.
- [ ] Button disabled status should update on fast refresh.
- [ ] Button should update relevant styling upon press.
- [x] Button should perform action onPress
- [x] Button should not perform action onPress when disabled.

Guide contributeur