1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-12-21 03:10:06 +01:00

Update TestableConfiguration for UI Tests

- Added missing apps (to be refactored)
- Added output for `brew info shivammathur/php/php --json`
This commit is contained in:
2025-11-27 14:13:20 +01:00
parent dc1a5b9b3c
commit e437b1c5c7
3 changed files with 15 additions and 1 deletions

View File

@@ -98,6 +98,7 @@ class Application {
let detectable = [ let detectable = [
// Browsers (for future Open In > Browser context menu) // Browsers (for future Open In > Browser context menu)
/*
Application(container, "Safari", .browser), Application(container, "Safari", .browser),
Application(container, "Google Chrome", .browser), Application(container, "Google Chrome", .browser),
Application(container, "Microsoft Edge", .browser), Application(container, "Microsoft Edge", .browser),
@@ -105,6 +106,7 @@ class Application {
Application(container, "Brave", .browser), Application(container, "Brave", .browser),
Application(container, "Arc", .browser), Application(container, "Arc", .browser),
Application(container, "Zen", .browser), Application(container, "Zen", .browser),
*/
// Editors // Editors
Application(container, "PhpStorm", .ide), Application(container, "PhpStorm", .ide),

View File

@@ -30,7 +30,6 @@
} }
}, },
{ {
"enabled" : false,
"target" : { "target" : {
"containerPath" : "container:PHP Monitor.xcodeproj", "containerPath" : "container:PHP Monitor.xcodeproj",
"identifier" : "C471E7BB28F9B90F0021E251", "identifier" : "C471E7BB28F9B90F0021E251",

View File

@@ -124,16 +124,29 @@ class TestableConfigurations {
: .instant("Error: No available formula with the name \"shivammathur/php/php\"."), : .instant("Error: No available formula with the name \"shivammathur/php/php\"."),
"/usr/bin/open -Ra \"PhpStorm\"" "/usr/bin/open -Ra \"PhpStorm\""
: .instant("Unable to find application named 'PhpStorm'", .stdErr), : .instant("Unable to find application named 'PhpStorm'", .stdErr),
"/usr/bin/open -Ra \"WebStorm\""
: .instant("Unable to find application named 'WebStorm'", .stdErr),
"/usr/bin/open -Ra \"Visual Studio Code\"" "/usr/bin/open -Ra \"Visual Studio Code\""
: .instant("Unable to find application named 'Visual Studio Code'", .stdErr), : .instant("Unable to find application named 'Visual Studio Code'", .stdErr),
"/usr/bin/open -Ra \"VSCodium\""
: .instant("Unable to find application named 'VSCodium'", .stdErr),
"/usr/bin/open -Ra \"Sublime Text\"" "/usr/bin/open -Ra \"Sublime Text\""
: .instant("Unable to find application named 'Sublime Text'", .stdErr), : .instant("Unable to find application named 'Sublime Text'", .stdErr),
"/usr/bin/open -Ra \"Sublime Merge\"" "/usr/bin/open -Ra \"Sublime Merge\""
: .instant("Unable to find application named 'Sublime Merge'", .stdErr), : .instant("Unable to find application named 'Sublime Merge'", .stdErr),
"/usr/bin/open -Ra \"Tower\""
: .instant("Unable to find application named 'Tower'", .stdErr),
"/usr/bin/open -Ra \"SourceTree\""
: .instant("Unable to find application named 'SourceTree'", .stdErr),
"/usr/bin/open -Ra \"iTerm\"" "/usr/bin/open -Ra \"iTerm\""
: .instant("Unable to find application named 'iTerm'", .stdErr), : .instant("Unable to find application named 'iTerm'", .stdErr),
"/usr/bin/open -Ra \"Ghostty\""
: .instant("Unable to find application named 'Ghostty'", .stdErr),
"/opt/homebrew/bin/brew info php --json" "/opt/homebrew/bin/brew info php --json"
: .instant(ShellStrings.shared.brewJson), : .instant(ShellStrings.shared.brewJson),
"/opt/homebrew/bin/brew info shivammathur/php/php --json"
: .instant(ShellStrings.shared.brewJson),
"sudo /opt/homebrew/bin/brew services info --all --json" "sudo /opt/homebrew/bin/brew services info --all --json"
: .instant(ShellStrings.shared.brewServicesAsRoot), : .instant(ShellStrings.shared.brewServicesAsRoot),
"/opt/homebrew/bin/brew services info --all --json" "/opt/homebrew/bin/brew services info --all --json"