File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -86,9 +86,11 @@ export async function assertUrlIsReachable(url: string): Promise<void> {
8686export async function setConsistentStatusBar ( device : DeviceWrapper ) : Promise < void > {
8787 if ( device . isIOS ( ) ) {
8888 // Time: 4:20, 100% battery, full wifi signal
89+ device . log ( `[DEBUG]: Attempting to set fake status bar` ) ;
8990 await runScriptAndLog (
9091 `xcrun simctl status_bar ${ device . udid } override --time "04:20" --batteryLevel 100 --batteryState charged --wifiBars 3` , true
9192 ) ;
93+ device . log ( `[DEBUG]: Fake status bar command has been sent` ) ;
9294 } else if ( device . isAndroid ( ) ) {
9395 // Enable demo mode to set consistent status bar elements
9496 await runScriptAndLog ( `adb -s ${ device . udid } shell settings put global sysui_demo_allowed 1` ) ;
You can’t perform that action at this time.
0 commit comments