mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 22:10:29 +00:00
24 lines
546 B
Swift
24 lines
546 B
Swift
//
|
|
// GhosttyTitleUITests.swift
|
|
// GhosttyUITests
|
|
//
|
|
// Created by luca on 13.10.2025.
|
|
//
|
|
|
|
import XCTest
|
|
|
|
final class GhosttyTitleUITests: GhosttyCustomConfigCase {
|
|
override func setUp() async throws {
|
|
try await super.setUp()
|
|
try updateConfig(#"title = "GhosttyUITestsLaunchTests""#)
|
|
}
|
|
|
|
@MainActor
|
|
func testTitle() throws {
|
|
let app = try ghosttyApplication()
|
|
app.launch()
|
|
|
|
XCTAssertEqual(app.windows.firstMatch.title, "GhosttyUITestsLaunchTests", "Oops, `title=` doesn't work!")
|
|
}
|
|
}
|