Skip to content

Commit e03ac68

Browse files
committed
Keep browser XCUITest socket override with launch tag
1 parent 106dc36 commit e03ac68

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cmuxUITests/BrowserPaneNavigationKeybindUITests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,6 +1457,9 @@ final class BrowserPaneNavigationKeybindUITests: XCTestCase {
14571457
app.launchEnvironment["CMUX_UI_TEST_SOCKET_SANITY"] = "1"
14581458
}
14591459
if app.launchEnvironment["CMUX_SOCKET_PATH"] != nil {
1460+
if app.launchEnvironment["CMUX_ALLOW_SOCKET_OVERRIDE"] == nil {
1461+
app.launchEnvironment["CMUX_ALLOW_SOCKET_OVERRIDE"] = "1"
1462+
}
14601463
if !app.launchArguments.contains("-socketControlMode") {
14611464
app.launchArguments += ["-socketControlMode", "allowAll"]
14621465
}

0 commit comments

Comments
 (0)