passepartout-apple/Passepartout/Library/Sources/CommonLibrary
Davide 962361cb9f
Automate screenshots via UI tests (#960)
Ready for screenshots generation, except for the tests themselves and
the TV target.

- More customizations while UI testing
  - Act as full version user in IAPManager
  - Override layout with default to .grid if isBigDevice
  - Show module names in profile list/grid
- Improve mock Profile/ProfileManager
  - Meaningful profile names
  - iCloud/TV icons
  - Initial modules
- Improve XCTest extensions
  - Screenshot destination (attachment/temporary)
  - Screenshot target (window/sheet)
  - Print saved temporary URL at the end (may help with CI)
  - Append device name to screenshot filename
- Tests
- Refactor actions with the [Page Object
pattern](https://swiftwithmajid.com/2021/03/24/ui-testing-using-page-object-pattern-in-swift/)
  - Perform iPad screenshots in landscape
  - Split simple flow tests and screenshots
  - Add "Connect to" test

Closes #681
2024-11-28 15:51:03 +01:00
..
Business Automate screenshots via UI tests (#960) 2024-11-28 15:51:03 +01:00
Domain Define common PreferenceProtocol 2024-11-27 09:40:32 +01:00
Extensions Share migrated TV profiles (#918) 2024-11-23 13:33:02 +01:00
IAP Group IAP extensions into ad-hoc folder 2024-11-21 19:44:37 +01:00
Resources Share migrated TV profiles (#918) 2024-11-23 13:33:02 +01:00
Strategy Automate screenshots via UI tests (#960) 2024-11-28 15:51:03 +01:00
Shared.swift Rearrange targets for unit testing (#900) 2024-11-20 18:05:47 +01:00