Skip to content

Commit 66b0132

Browse files
committed
chore: add debug logs
1 parent 4992ae6 commit 66b0132

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run/test/specs/utils/utilities.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,11 @@ export async function assertUrlIsReachable(url: string): Promise<void> {
8686
export 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`);

0 commit comments

Comments
 (0)