test: only change themes in theme tests

This commit is contained in:
Lukas
2026-04-26 13:52:30 +02:00
parent c74f6d56d1
commit b66258806e
5 changed files with 4 additions and 9 deletions

View File

@@ -8,7 +8,6 @@
import XCTest
final class GhosttyCommandPaletteTests: GhosttyCustomConfigCase {
override static var runsForEachTargetApplicationUIConfiguration: Bool { false }
@MainActor func testDismissingCommandPalette() async throws {
let app = try ghosttyApplication()
app.activate()

View File

@@ -23,10 +23,6 @@ class GhosttyCustomConfigCase: XCTestCase {
}
}
override class var runsForEachTargetApplicationUIConfiguration: Bool {
true
}
static let defaultsSuiteName: String = "GHOSTTY_UI_TESTS"
var configFile: URL?

View File

@@ -8,8 +8,6 @@
import XCTest
final class GhosttyMouseStateTests: GhosttyCustomConfigCase {
override static var runsForEachTargetApplicationUIConfiguration: Bool { false }
// https://github.com/ghostty-org/ghostty/pull/11276
@MainActor func testSelectionFocusChange() async throws {
let app = XCUIApplication()

View File

@@ -9,6 +9,10 @@ import AppKit
import XCTest
final class GhosttyThemeTests: GhosttyCustomConfigCase {
override static var runsForEachTargetApplicationUIConfiguration: Bool {
true
}
let windowTitle = "GhosttyThemeTests"
private func assertTitlebarAppearance(
_ appearance: XCUIDevice.Appearance,

View File

@@ -8,8 +8,6 @@
import XCTest
final class GhosttyWindowPositionUITests: GhosttyCustomConfigCase {
override static var runsForEachTargetApplicationUIConfiguration: Bool { false }
// MARK: - Cascading
@MainActor func testWindowCascading() async throws {