Skip to content

APP-314 fix. Workflow now highlights asserts, presses, text fields etc. as intended#270

Closed
chinmayajha wants to merge 7 commits intomozarkai:mainfrom
chinmayajha:main
Closed

APP-314 fix. Workflow now highlights asserts, presses, text fields etc. as intended#270
chinmayajha wants to merge 7 commits intomozarkai:mainfrom
chinmayajha:main

Conversation

@chinmayajha
Copy link
Copy Markdown
Contributor

Fix to https://mozarkai-orchestrator.atlassian.net/browse/APP-314

Workflow already handled annotations, but the problem was in saving of the image. Commit fixes invalid timestamp format causing screenshot save failure (on windows)

changes file saving behaviour, fixes workflow

…c. as intended

Fix to https://mozarkai-orchestrator.atlassian.net/browse/APP-314

Workflow already handled annotations, but the problem was in saving of the image. Commit fixes invalid timestamp format causing screenshot save failure (on windows)

changes file saving behaviour, fixes workflow
@chinmayajha
Copy link
Copy Markdown
Contributor Author

@thakur-patel

Refactor screenshot saving logic to handle exceptions properly and raise an error if saving fails.

Signed-off-by: Chinmay Jha <[email protected]>
Change logging levels from info to debug for certain warnings in action_keyword.py.

Signed-off-by: Chinmay Jha <[email protected]>
Fixes NB-6

Resolved an issue where `Enter Text Using Keyboard` intermittently failed
for uppercase inputs.

Root cause:
- `_press_keycode_or_type_char` sent keycodes without SHIFT (metastate)
- Uppercase characters (e.g., 'N') were typed as lowercase ('n')
- Certain fields (e.g., IFSC) reject lowercase input, causing characters to be ignored

Fix:
- Detect uppercase characters and send keycode with `metastate=1` (SHIFT)
- Ensures correct uppercase input via Appium key events

Result:
- Uppercase text (e.g., "NPCI0000001") is entered correctly
- Input fields that enforce uppercase now work reliably
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 3, 2026

@chinmayajha chinmayajha closed this Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant