ionic-team / ionic-team/ionic-e2e-example

E2E-Tests: Ion-Input is broken on Ionic7 projects

Aberta
#11 0 comentários 0 reações 0 responsáveis Ver no GitHub
triage
Linguagem predominante
TypeScript
Estrelas
49
Forks
21
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.