Skip to content
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

[Tests] Create UI tests on the Profile view using XCUITest #383

Open
12 tasks
tomastiminskas opened this issue Jan 30, 2024 · 1 comment
Open
12 tasks

[Tests] Create UI tests on the Profile view using XCUITest #383

tomastiminskas opened this issue Jan 30, 2024 · 1 comment
Assignees

Comments

@tomastiminskas
Copy link
Contributor

tomastiminskas commented Jan 30, 2024

Context

The Profile view is accesible from Left Menu. UI Test coverage needs to be added in this view.

Note: Use branch test-flight as base branch

Files involved:
ProfileViewControlle.rswift
QRCodeDetailViewController.swift
Profile.storyboard

The goal is to test some basic UI interactions in the Profile view and their expected results.

  1. Add new test target to the project, XCUITest framework and any additional configuration needed to start adding UI tests (If needed/not added yet)
  2. Implement the following test cases

Profile view / Basic Tab

  • Editing User Name should save new value after leaving and entering Profile again
  • Editing Share my profile photo with contacts, Feed Recommendations and Auto downloaded podcast episodes should save new value after leaving and entering Profile again
  • Tapping on Address QR code icon should present PUBLIC KEY QR view
  • Tapping on Manage Storage row should present Manage Storage view controller
  • Tapping on Notification Sound row should present Notification Sound view controller
  • Editting Default tip amount should save new value after leaving and entering Profile view again
  • Tapping on Backup your key should present Pin view and start process to export keys

Profile view / Advanced tab

  • Changing PIN Timeout slider value should save new value after leaving and entering Profile again
  • Tapping on Change PIN or Set/Change Privacy PIN should present PIN view

Profile view / QR code detail view

After tapping on QR code icon on Address field the QR code detail view is presented

  • Tapping on Share button should present UIActivityViewController
  • Tapping on Copy button should copy PUBLIC KEY to clipboard

Profile view / Backup your keys

  • Add test coverage to the backup keys process: tap on Backup your keys button, enter PIN, accept alert explaining process and Restore string should be copied to clipboard
@Khaalid-oh
Copy link

Khaalid-oh commented Feb 5, 2024

👍🏽

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

No branches or pull requests

2 participants