Skip to content

Commit ca654b0

Browse files
committed
chore: remove debug comments
1 parent 1d0deaa commit ca654b0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

run/test/specs/utils/utilities.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,10 @@ 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`);
9089
await runScriptAndLog(
9190
`xcrun simctl status_bar ${device.udid} override --time "04:20" --batteryLevel 100 --batteryState charged --wifiBars 3`,
9291
true
9392
);
94-
device.log(`[DEBUG]: Fake status bar command has been sent`);
9593
} else if (device.isAndroid()) {
9694
// Enable demo mode to set consistent status bar elements
9795
await runScriptAndLog(`adb -s ${device.udid} shell settings put global sysui_demo_allowed 1`);

run/test/specs/utils/verify_screenshots.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ function ensureBaseline(actualBuffer: Buffer, baselinePath: string): void {
164164
fs.writeFileSync(tempPath, actualBuffer);
165165

166166
// Uncomment these lines for local development to auto-create baselines
167-
fs.mkdirSync(path.dirname(baselinePath), { recursive: true });
168-
fs.writeFileSync(baselinePath, actualBuffer);
167+
// fs.mkdirSync(path.dirname(baselinePath), { recursive: true });
168+
// fs.writeFileSync(baselinePath, actualBuffer);
169169

170170
throw new Error(
171171
`No baseline image found at: ${baselinePath}. \n

0 commit comments

Comments
 (0)