Skip to content

Feat/unit testing commands#57

Merged
teo-nikolov merged 12 commits intoAutomateThePlanet:mainfrom
y-schwab:feat/unit-testing-commands
Mar 6, 2026
Merged

Feat/unit testing commands#57
teo-nikolov merged 12 commits intoAutomateThePlanet:mainfrom
y-schwab:feat/unit-testing-commands

Conversation

@y-schwab
Copy link
Copy Markdown
Contributor

Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

Types of changes

What types of changes does your code introduce to Appium?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the Contributing Guide
  • I have signed the CLA
  • Lint passes locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@teo-nikolov teo-nikolov self-requested a review March 6, 2026 12:59
@teo-nikolov
Copy link
Copy Markdown
Collaborator

Hi @yuri-byte, thank you for this PR! It's really helpful and well done!

Will you be able to update the commit messages to include prefixes to follow Conventional Commits format?

Our .releaserc uses these types:

  • feat: Features
  • fix: Bug Fixes
  • perf: Performance Improvements
  • revert: Reverts
  • chore: Miscellaneous Chores
  • refactor: Code Refactoring
  • docs: Documentation (hidden in changelog)
  • style: Styles (hidden in changelog)
  • test: Tests (hidden in changelog)
  • build: Build System (hidden in changelog)
  • ci: Continuous Integration (hidden in changelog)

You can update commits using git rebase -i and then force-push them. This will make sure your contributions appear correctly in the changelog and releases.

Comment thread lib/commands/screen-recorder.ts
fix multiple bugs: patternGetValue missing return, clipboard PS quoting, regex group accessor, command binding to prototype vs instance, isolated PS shared buffers, mouseScroll event not enqueued, getDeviceTime signature mismatch; add windows: getWindowElement command;
Implement end to end tests with real calculator, notepad and todo apps
- Reject outputPath values that don't end with .mp4, since the hardcoded
  ffmpeg args (-movflags +faststart, libx264) only produce valid MP4 output
- Guard getVideoPath() with fs.stat to ensure the path resolves to a
  regular file before it can be passed to rimraf, preventing accidental
  deletion of directories or unrelated files
- Add e2e tests: valid outputPath persists on disk after stop, invalid
  extension is rejected with an explanatory error message
@y-schwab y-schwab force-pushed the feat/unit-testing-commands branch from bf0c1a4 to 8aa49dd Compare March 6, 2026 18:04
@teo-nikolov teo-nikolov self-requested a review March 6, 2026 22:01
@teo-nikolov teo-nikolov merged commit fa52a19 into AutomateThePlanet:main Mar 6, 2026
1 check passed
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 6, 2026

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants