You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The 'BROWSER' environment variable includes 'Safari', which is not supported on this platform. The only supported platform is darwin."
44
+
);
45
+
return[];
46
+
}
47
+
48
+
if(browsers.includes('Safari')){
49
+
console.log(
50
+
"\x1b[38;2;255;165;0mSafari browser testing has been enabled. This requires Full Disk Access be granted to the executor. To grant Full Disk Access on macOS > 13, visit 'System Settings' > 'Privacy & Security' > 'Full Disk Access'.\x1b[0m"
51
+
);// Log in orange
52
+
}
53
+
54
+
returnvalidBrowsers;
55
+
}else{
56
+
/**
57
+
* By default we only run the Chrome tests locally since the Safari launcher has some quirks
58
+
* that make local testing annoying:
59
+
* - Tabs from previous test runs are restored, causing the tests to be ran once on each tab.
60
+
* To prevent this, Safari has to be manually re-opened and then quit after every test run.
61
+
* - Full Disk Access has to be manually enabled
62
+
*
63
+
* Running the browser tests in Chrome should catch most browser bugs. If that's not the case,
64
+
* the bugs will be caught when the browser tests are ran on Safari in CI.
65
+
*/
66
+
console.log(
67
+
"The 'BROWSER' environment variable is undefined. Defaulting to 'ChromeHeadless'."
0 commit comments