@@ -313,7 +313,9 @@ profile001 = startProfile(sketch001, at = [0.0, 0.0])
313
313
// We should now be paused. To the user, it should appear we're still
314
314
// connected.
315
315
await networkToggle . hover ( )
316
- await expect ( networkToggleConnectedText . or ( networkToggleWeakText ) ) . toBeVisible ( )
316
+ await expect (
317
+ networkToggleConnectedText . or ( networkToggleWeakText )
318
+ ) . toBeVisible ( )
317
319
318
320
const center = {
319
321
x : dim . width / 2 ,
@@ -323,7 +325,7 @@ profile001 = startProfile(sketch001, at = [0.0, 0.0])
323
325
let probe = { x : 0 , y : 0 }
324
326
325
327
// ... and the model's still visibly there
326
- probe . x = center . x + ( dim . width / 100 )
328
+ probe . x = center . x + dim . width / 100
327
329
probe . y = center . y
328
330
await scene . expectPixelColor ( TEST_COLORS . GREY , probe , 15 )
329
331
probe = { ...center }
@@ -335,7 +337,7 @@ profile001 = startProfile(sketch001, at = [0.0, 0.0])
335
337
// Check the pixel a couple times as it reconnects.
336
338
// NOTE: Remember, idle behavior is still on at this point -
337
339
// if this test takes longer than 5s shit WILL go south!
338
- probe . x = center . x + ( dim . width / 100 )
340
+ probe . x = center . x + dim . width / 100
339
341
probe . y = center . y
340
342
await scene . expectPixelColor ( TEST_COLORS . GREY , probe , 15 )
341
343
await page . waitForTimeout ( 1000 )
@@ -344,7 +346,9 @@ profile001 = startProfile(sketch001, at = [0.0, 0.0])
344
346
345
347
// Ensure we're still connected
346
348
await networkToggle . hover ( )
347
- await expect ( networkToggleConnectedText . or ( networkToggleWeakText ) ) . toBeVisible ( )
349
+ await expect (
350
+ networkToggleConnectedText . or ( networkToggleWeakText )
351
+ ) . toBeVisible ( )
348
352
} )
349
353
}
350
354
)
0 commit comments