Skip to content

Commit ed9d2db

Browse files
committed
chore: Add more to log.
1 parent 1d3b366 commit ed9d2db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/webdriverio/test/scroll_test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ suite('Scrolling into view', function () {
126126
return blockBounds;
127127
});
128128
console.log("block bounds:", blockBounds);
129-
const [blockPosition, blockRelative] = await this.browser.execute(() => {
129+
const [blockPosition, blockRelative, x, y, transform, style] = await this.browser.execute(() => {
130130
const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
131131
const block = workspace.getBlocksByType(
132132
'controls_if',
@@ -173,9 +173,9 @@ suite('Scrolling into view', function () {
173173
}
174174
}
175175
}
176-
return [block.getRelativeToSurfaceXY(), xy];
176+
return [block.getRelativeToSurfaceXY(), xy, x, y, transform, style];
177177
});
178-
console.log("block position:", blockPosition, "relative:", blockRelative);
178+
console.log("block position:", blockPosition, "relative:", blockRelative, x, y, transform, style);
179179
const [blockParentBounds, blockParentId] = await this.browser.execute(() => {
180180
const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
181181
const block = workspace.getBlocksByType(

0 commit comments

Comments
 (0)