-
Notifications
You must be signed in to change notification settings - Fork 0
Test/ios tags #240
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
Test/ios tags #240
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR enables the @onchain_2 end-to-end test suite after a bug fix in the iOS codebase, and improves UI test automation by adding accessibility identifiers and standardizing their naming conventions.
Key Changes:
- Enables
@onchain_2test tag in the e2e test workflow - Adds accessibility identifiers to tag-related components for better test automation coverage
- Standardizes test ID naming by removing hyphens (e.g.,
-button-continue→Continue) - Improves UX by dismissing the date range selector sheet when clearing the selection
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/e2e-tests.yml | Adds @onchain_2 to the enabled test tags in the e2e test grep pattern |
| Bitkit/Views/Wallets/Send/SendTagScreen.swift | Adds test identifiers TagInputSend and SendTagsSubmit to the tag input form |
| Bitkit/Views/Wallets/Send/SendConfirmationView.swift | Adds TagsAddSend test identifier to the add tag button |
| Bitkit/Components/Tag.swift | Moves accessibility identifier from button to tagContent view builder for better test coverage of both tappable and non-tappable tags |
| Bitkit/Components/SheetIntro.swift | Standardizes button test IDs by removing -button- prefix (e.g., Continue instead of -button-continue) |
| Bitkit/Components/SegmentedControl.swift | Adds accessibility identifier to segmented control tabs using format Tab-{description} |
| Bitkit/Components/Activity/DateRangeSelectorSheet.swift | Dismisses sheet when clearing date range for improved UX consistency |
| Bitkit/Components/Activity/ActivityListFilter.swift | Adds test identifiers TagsPrompt and DatePicker to filter icons |
| startDate = nil | ||
| endDate = nil | ||
| viewModel.clearDateRange() | ||
| isPresented = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clearing the calendar selection is not supposed to close the sheet UX wise, see current Bitkit app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, thanks, I will fix this in ios and android and update e2e tests accordingly.
Description
This pr enables
onchain_2test after #197 has been fixed.Some other minor changes related to adjustments in tests.
Linked Issues/Tasks
Screenshot / Video
Insert relevant screenshot / recording