diff --git a/tests/Shared/TestableConfigurations.swift b/tests/Shared/TestableConfigurations.swift index 1c77e5a..05f00e4 100644 --- a/tests/Shared/TestableConfigurations.swift +++ b/tests/Shared/TestableConfigurations.swift @@ -22,6 +22,8 @@ class TestableConfigurations { : .fake(.binary), "/opt/homebrew/opt/php" : .fake(.symlink, "/opt/homebrew/Cellar/php/8.1.10_1"), + "/opt/homebrew/opt/php@8.1/bin/php" + : .fake(.symlink, "/opt/homebrew/Cellar/php/8.1.10_1/bin/php"), "/opt/homebrew/Cellar/php/8.1.10_1" : .fake(.directory), "/opt/homebrew/Cellar/php/8.1.10_1/bin/php" diff --git a/tests/ui/StartupTest.swift b/tests/ui/StartupTest.swift index c4ef20d..5631360 100644 --- a/tests/ui/StartupTest.swift +++ b/tests/ui/StartupTest.swift @@ -70,6 +70,9 @@ final class StartupTest: UITestCase { let statusBarItem = app.statusItems.firstMatch statusBarItem.click() assertAllExist([ + // "Switch to PHP 8.1 (php)" should be visible since it is aliased to `php` + app.menuItems["\("mi_php_switch".localized) 8.1 (php)"], + // We should see the about and quit items app.menuItems["mi_about".localized], app.menuItems["mi_quit".localized] ])