From df1321155761c5fd62bd777adf8d104a94b677c6 Mon Sep 17 00:00:00 2001 From: Lukas <134181853+bo2themax@users.noreply.github.com> Date: Thu, 12 Mar 2026 18:47:59 +0100 Subject: [PATCH] macOS: update cascade tests --- .../GhosttyWindowPositionUITests.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/macos/GhosttyUITests/GhosttyWindowPositionUITests.swift b/macos/GhosttyUITests/GhosttyWindowPositionUITests.swift index b5739edf6..a16fd8e5a 100644 --- a/macos/GhosttyUITests/GhosttyWindowPositionUITests.swift +++ b/macos/GhosttyUITests/GhosttyWindowPositionUITests.swift @@ -27,15 +27,15 @@ final class GhosttyWindowPositionUITests: GhosttyCustomConfigCase { app.launch() // window in the center -// app.menuBarItems["Window"].firstMatch.click() -// app.menuItems["_zoomTopLeft:"].firstMatch.click() -// -// // wait for the animation to finish -// try await Task.sleep(for: .seconds(0.5)) + app.menuBarItems["Window"].firstMatch.click() + app.menuItems["_zoomTopLeft:"].firstMatch.click() + + // wait for the animation to finish + try await Task.sleep(for: .seconds(0.5)) let window = app.windows.firstMatch let windowFrame = window.frame -// XCTAssertEqual(windowFrame.minX, 0, "Window should be on the left") + XCTAssertEqual(windowFrame.minX, 0, "Window should be on the left") app.typeKey("n", modifierFlags: [.command])