Features: - Camera preview with ring light effect - Adjustable ring size with slider - Light color presets (white, warm cream, ice blue, soft pink, warm amber, cool lavender) - Light intensity control (opacity) - Front flash (hides preview during capture) - True mirror mode - Skin smoothing toggle - Grid overlay (rule of thirds) - Self-timer options - Photo and video capture modes - iCloud sync for settings across devices Architecture: - SwiftUI with @Observable view models - Protocol-oriented design (RingLightConfigurable, CaptureControlling) - Bedrock design system integration - CloudSyncManager for iCloud settings sync - RevenueCat for premium features
34 lines
838 B
Swift
34 lines
838 B
Swift
//
|
|
// SelfieRingLightUITestsLaunchTests.swift
|
|
// SelfieRingLightUITests
|
|
//
|
|
// Created by Matt Bruce on 1/2/26.
|
|
//
|
|
|
|
import XCTest
|
|
|
|
final class SelfieRingLightUITestsLaunchTests: XCTestCase {
|
|
|
|
override class var runsForEachTargetApplicationUIConfiguration: Bool {
|
|
true
|
|
}
|
|
|
|
override func setUpWithError() throws {
|
|
continueAfterFailure = false
|
|
}
|
|
|
|
@MainActor
|
|
func testLaunch() throws {
|
|
let app = XCUIApplication()
|
|
app.launch()
|
|
|
|
// Insert steps here to perform after app launch but before taking a screenshot,
|
|
// such as logging into a test account or navigating somewhere in the app
|
|
|
|
let attachment = XCTAttachment(screenshot: app.screenshot())
|
|
attachment.name = "Launch Screen"
|
|
attachment.lifetime = .keepAlways
|
|
add(attachment)
|
|
}
|
|
}
|