macOS: update cascade tests

pull/11161/head
Lukas 2026-03-12 18:47:59 +01:00
parent 4ad2bd1112
commit df13211557
No known key found for this signature in database
GPG Key ID: 1944A0A77B561220
1 changed files with 6 additions and 6 deletions

View File

@ -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])