kirillzyusko / react-native-keyboard-controller

Keyboard manager which works in identical way on both iOS and Android
https://kirillzyusko.github.io/react-native-keyboard-controller/
MIT License
1.78k stars 81 forks source link

e2e: consistent tests across platforms #690

Closed kirillzyusko closed 2 weeks ago

kirillzyusko commented 2 weeks ago

📜 Description

Made e2e tests better 🙂

💡 Motivation and Context

The main motivation to do that was to have device.tap() method - it would allow us to test switch to emoji keyboard. I added this, but then realized, that flag SOFT_CHECK doesn't satisfy for previous goals, so I decided to create devicePreferences mechanism.

Then I tried to enable OverKeyboardView tests and suddenly they started to work 😲

Last piece was updating KeyboardToolbar tests 🙂

📢 Changelog

E2E

🤔 How Has This Been Tested?

Tested on CI.

📝 Checklist

github-actions[bot] commented 2 weeks ago

📊 Package size report

Current size Target Size Difference
159566 bytes 159566 bytes 0 bytes 📉
github-actions[bot] commented 2 weeks ago

PR Preview Action v1.4.8 :---: Preview removed because the pull request was closed. 2024-11-15 12:47 UTC

argos-ci[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 1 changed Nov 15, 2024, 12:13 PM