Skip to content

Conversation

@piotr-iohk
Copy link
Collaborator

@piotr-iohk piotr-iohk commented Nov 24, 2025

Description

This pr enables onchain_2 test after #197 has been fixed.
Some other minor changes related to adjustments in tests.

⚠️ merge together with Android counterpart.

Linked Issues/Tasks

Screenshot / Video

Insert relevant screenshot / recording

Copy link
Contributor

Copilot AI left a 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_2 test 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-continueContinue)
  • 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

@jvsena42 jvsena42 merged commit 1deb25a into master Nov 24, 2025
12 checks passed
@jvsena42 jvsena42 deleted the test/ios-tags branch November 24, 2025 12:48
startDate = nil
endDate = nil
viewModel.clearDateRange()
isPresented = false
Copy link
Contributor

@pwltr pwltr Nov 25, 2025

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

Copy link
Collaborator Author

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.

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.

4 participants