We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c505a1 commit cc40d71Copy full SHA for cc40d71
test/webdriverio/test/scroll_test.ts
@@ -117,7 +117,11 @@ suite('Scrolling into view', function () {
117
118
// Assert new block has been scrolled into the viewport.
119
await this.browser.pause(PAUSE_TIME);
120
- await this.browser.saveScreenshot(`failures/extra_snapshot_for_verification.png`);
+ await this.browser.execute(async () => {
121
+ await Blockly.renderManagement.finishQueuedRenders()
122
+ });
123
+ await this.browser.pause(3000);
124
+ // await this.browser.saveScreenshot(`failures/extra_snapshot_for_verification.png`);
125
const blockBounds = await this.browser.execute(() => {
126
const workspace = Blockly.getMainWorkspace() as Blockly.WorkspaceSvg;
127
const block = workspace.getBlocksByType(
0 commit comments