-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native app session not started with appium:app
behaves as web session and fails
#333
Labels
bug
Something isn't working
Comments
This will be fixed in #325 |
wswebcreation
added a commit
that referenced
this issue
May 23, 2024
* feat: initial commit - add ocrGetText command * test: fix UTs * feat: add system installed tesseract support - update deps * feat: add ocrGetElementPositionByText * feat: add ocrClickOnText * feat: add ocrSetValue * feat: add ocrWaitForTextDisplayed * chore: initial refactor of code * feat: add fuzzyFindOptions to ocrWaitForTextDisplayed * chore: optimize service code * tesT: update e2e test * feat: add contrast as a configurable option * chore: fix some small things * test: fix tests due to an issue with Canvas * feat: draw a target where the app will be clicked - return filepath * feat: add target and search on words - refactor code a bit - fix properly cropping * test: add E2E test * chore: refactor adding highlights - completely remove the node-canvas dependency to draw OCR images * test: remove only * feat: add haystack as coordinates - change element to haystack * test: add first UT * test: add more test to single UT * test: add new UT ocrGetElementPositionByText * test: add test for ocrGetText * test: add ocrSetValue tests * test: add ocrWaitForTextDisplayed tests * test: add fuzzy tests - restructure tests * chore: add all mocks for fuzzy * test: add tests for image processing * test: add index utils tests * test: add ocrGetData tests * test: add ocrGetTextPositions tests * chore: remove double words * chore: revert eslint to 8 again * test: add ocrKeys uts * test: add tests for tesseract file * fix: fix issue 286 - the matcher only allowed an exact percentage, now it's lower or equal - updated error message * feat: add cli option * chore: add changeset * chore: change service name * feat: add a separate service for OCR * chore: revert changes to the visual service * feat: add cli to ocr-service * chore: remove cli command from visual service * chore: update release * chore: updates after feedback * chore: update changelog * test: add service UTs * fix: fix parsing issues returned text from system tesseract had unescaped txt in the result which resulted in a parsing error, now the text is abstracted differently * chore: update deps and add SL OCR tests * test: fix tests for running on Sauce * test: add chrome with darkmode for better text recognition * fix: update cli * test: add CH action step * chore: fix ut * fix: fix tesseract text response for the js version * test: update chrome baseline * fix: fix issue #333 * chore: update release notes
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Native app session not started with
appium:app
behaves as web session and fails.To Reproduce
Start a session that uses an already installed app
Workaround:
Start the session and add this command to your
Potentail solution
Update the
determineNativeContext
method and check:appium:appPackage
is providedappium:bundleId
is providedwhich means it's native context
The text was updated successfully, but these errors were encountered: