Skip to content

Commit

Permalink
test(plugins): fix minimap plugin test case
Browse files Browse the repository at this point in the history
  • Loading branch information
antv committed Aug 28, 2024
1 parent c9ba7fc commit 1945d18
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/g6/plugins/plugins-minimap.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test.describe('plugin minimap', () => {
// 因此这里直接调用 graph 实例的方法
// playwright mouse simulation operation cannot trigger the drag event of g canvas normally
// So here directly call the method of the graph instance
await page.evaluate(() => (window as any).graph.translateTo([100, 100]));
await page.evaluate(() => (window as any).graph.translateTo([100, 100], false));

await expect(page).toHaveScreenshot({ clip, maxDiffPixels: 100 });
});
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1945d18

Please sign in to comment.