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

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

Offen
#11 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triage
Vorherrschende Sprache
TypeScript
Sterne
49
Forks
21
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.