Releases: RamboWasReal/react-native-preflight
Releases · RamboWasReal/react-native-preflight
v0.1.5
New Test Helpers
swipe(direction, duration?)— swipe in a direction (default 400ms)back()— press back buttonhideKeyboard()— dismiss the keyboardlongPress(id)— long press element by testIDraw(yaml)— escape hatch for injecting any raw Maestro YAML
Improvements
scroll(id, direction)now generatesscrollUntilVisibleinstead of invalidscroll- Multi-platform
appIduses${APP_ID}env var +--platform ios|androidflag generatedeletes orphaned YAML files with no matching scenariogeneratefollows single-level imports to resolve external test functions- Show raw Maestro stderr on test failure (YAML parse errors, crashes)
- Always display output directory path on failure
- Validate generated YAML commands at generate time
Bug Fixes
scrollstep was generating invalid Maestro YAML- Multi-platform
appIdwas generating unsupported nested format - Fixed pre-existing lint errors
v0.1.4
New Test Helpers
scroll(id, direction)— scroll until element is visible (scrollUntilVisible)swipe(direction, duration?)— swipe in a direction (default 400ms)back()— press back buttonhideKeyboard()— dismiss the keyboardlongPress(id)— long press element by testIDraw(yaml)— escape hatch for any Maestro YAML command
Improvements
- Error reporting: Show raw Maestro stderr when tests fail without parsed results (YAML parse errors, etc.)
- Output path: Always display output directory on failure
- YAML validation: Warn at generate time if unknown Maestro commands are detected
Bug Fixes
scroll()now generatesscrollUntilVisibleinstead of invalidscrollwithdirectionproperty
v0.1.3
Bug Fixes
- scroll command:
scroll()now generates Maestroswipeinstead of invalidscrollwithdirectionproperty - scroll duration:
scroll(id, direction, duration?)accepts optional duration (default 400ms)
Improvements
- Error reporting: Show raw Maestro stderr when tests fail without parsed results (e.g. YAML parse errors)
- Output path: Always display output directory path on failure
- YAML validation: Warn at generate time if unknown Maestro commands are detected
v0.1.2
Bug Fix
- Multi-platform appId: Fixed Maestro compatibility — nested
appId: { ios, android }format is not supported by Maestro. Now generatesappId: ${APP_ID}and passes the value via-e APP_ID=...at test time. - Added
--platform ios|androidflag topreflight testcommand.
Other
- Fixed pre-existing lint errors (
no-useless-escape,no-redeclare).
v0.1.0
First stable release. See CHANGELOG.md.