style(tests): format c4-measure annotation (residual 9c)
This commit is contained in:
1 parent
553a0e57b2
commit
69e225ca7a
1 file changed
+4
-6
@@ -294,12 +294,10 @@ async function expectPanelReachable(page: Page) {
|
||||
Math.min(el.getBoundingClientRect().bottom, window.innerHeight) -
|
||||
Math.max(el.getBoundingClientRect().top, 0),
|
||||
)
|
||||
test
|
||||
.info()
|
||||
.annotations.push({
|
||||
type: 'c4-measure',
|
||||
description: `panel visible ${visible}`,
|
||||
})
|
||||
test.info().annotations.push({
|
||||
type: 'c4-measure',
|
||||
description: `panel visible ${visible}`,
|
||||
})
|
||||
expect(visible).toBeGreaterThan(0)
|
||||
expect(await probeInView(heading), 'heading').toEqual({
|
||||
inside: true,
|
||||
|
||||
Reference in new issue
Block a user