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

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

Đang mở
#11 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
49
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.