ionic-team / ionic-team/ionic-e2e-example
E2E-Tests: Ion-Input is broken on Ionic7 projects
- Lenguaje dominante
- TypeScript
- Estrellas
- 49
- Forks
- 21
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**I'm submitting a**
- [x] bug report
**Current behavior:**
In e2e testing of ionic7 projects, the ion-input is not accessible / no value can be set.
**Expected behavior:**
Can set a value through the helpers class `IonicInput`
**Steps to reproduce:**
Try to use the helpers in an Ionic7 project.
In my opinion, you just have to look which changes the Ion-Input got from 6 ⇾ 7 and adjust the class `IonicInput` accordingly. I assume other components did change as well, and maybe the repo `ionic-e2e-example` needs an entire upgrade to ionic7 as well. Maybe as a tag in repo to switch back to 6 any time.
**Related code:**
https://github.com/ionic-team/ionic-e2e-example/blob/fffed0d77fad002953ec108d2b40416e8d1e1766/tests/helpers/ionic/components/input.ts#L5-L38
**Other information:**
**Ionic info:** (run `ionic info` from a terminal/cmd prompt and paste output below):
Ionic:
Ionic CLI : 7.1.1
Ionic Framework : @ionic/react 7.0.14
Capacitor:
Capacitor CLI : 5.0.5
@capacitor/android : 5.0.5
@capacitor/core : 5.0.5
@capacitor/ios : 5.0.5
Utility:
cordova-res : not installed globally
native-run : 1.7.2
System:
NodeJS : v19.7.0
npm : 9.5.0
OS : Linux 5.19
Guía de contribución
Línea de trabajo
Start with tests/helpers/ionic/components/input.ts and compare the Ionic 6 and Ionic 7 input behavior in the ionic-e2e-example project. Run the existing E2E helpers against an Ionic 7 project, then verify that IonicInput can set an ion-input value; check whether the example also needs an Ionic 7 upgrade.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- frontend, testing
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100