diff --git a/__tests__/integration/api-mark-change-data-tooltip.spec.ts b/__tests__/integration/api-mark-change-data-tooltip.spec.ts index 5cd8aa6659..2fc7078cfa 100644 --- a/__tests__/integration/api-mark-change-data-tooltip.spec.ts +++ b/__tests__/integration/api-mark-change-data-tooltip.spec.ts @@ -30,7 +30,7 @@ describe('mark.changeData tooltip', () => { }), ); await expect(canvas).toMatchDOMSnapshot(dir, render.name, { - selector: `.tooltip`, + selector: '.g2-tooltip', }); }); diff --git a/__tests__/integration/snapshots/api/chart-emit-item-tooltip/step0.html b/__tests__/integration/snapshots/api/chart-emit-item-tooltip/step0.html index f15473bf69..ac87d9f51c 100644 --- a/__tests__/integration/snapshots/api/chart-emit-item-tooltip/step0.html +++ b/__tests__/integration/snapshots/api/chart-emit-item-tooltip/step0.html @@ -1,33 +1,33 @@