mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-28 01:15:10 +03:00
test: unflake microphone/video tests on macOS 15 (#32870)
This commit is contained in:
parent
df16f6efb4
commit
412073253f
@ -14,7 +14,7 @@ runs:
|
||||
fi
|
||||
echo "Allowing microphone access to all apps"
|
||||
version=$(sw_vers -productVersion | cut -d. -f1)
|
||||
if [[ "$version" == "14" ]]; then
|
||||
if [[ "$version" == "14" || "$version" == "15" ]]; then
|
||||
sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);"
|
||||
elif [[ "$version" == "12" || "$version" == "13" ]]; then
|
||||
sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR REPLACE INTO access VALUES('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159);"
|
||||
|
Loading…
Reference in New Issue
Block a user