Files
Gaze/GazeTests/Views/WelcomeViewTests.swift
2026-01-15 15:37:42 -05:00

29 lines
667 B
Swift

//
// WelcomeViewTests.swift
// GazeTests
//
// Tests for WelcomeView component.
//
import SwiftUI
import XCTest
@testable import Gaze
@MainActor
final class WelcomeViewTests: XCTestCase {
func testWelcomeViewInitialization() {
let view = WelcomeView()
XCTAssertNotNil(view)
}
func testWelcomeViewHasAccessibilityIdentifier() {
// Welcome view should have proper accessibility identifier
// This is a structural test - in real app, verify the view has the identifier
XCTAssertEqual(
AccessibilityIdentifiers.Onboarding.welcomePage,
"onboarding.page.welcome"
)
}
}