diff --git a/projects/demo-cypress/cypress/tests/addon-charts/line-chart.cy.ts b/projects/demo-cypress/cypress/tests/addon-charts/line-chart.cy.ts deleted file mode 100644 index 066b5d862273..000000000000 --- a/projects/demo-cypress/cypress/tests/addon-charts/line-chart.cy.ts +++ /dev/null @@ -1,12 +0,0 @@ -describe(`LineChart`, () => { - beforeEach(() => cy.tuiVisit(`charts/line-chart`)); - - it(`should not show hint`, () => { - cy.get(`tui-line-chart-example-1 tui-line-chart .t-column`) - .first() - .trigger(`mouseenter`, {force: true}) - .wait(1000); - - cy.matchImageSnapshot(`line-chart`, {capture: `viewport`}); - }); -}); diff --git a/projects/demo-playwright/tests/addon-charts/line-chart/line-chart.spec.ts b/projects/demo-playwright/tests/addon-charts/line-chart/line-chart.spec.ts index 92db6a7fe040..9f2088717ee9 100644 --- a/projects/demo-playwright/tests/addon-charts/line-chart/line-chart.spec.ts +++ b/projects/demo-playwright/tests/addon-charts/line-chart/line-chart.spec.ts @@ -10,6 +10,6 @@ test.describe(`LineChart`, () => { .first(); await lineChart.hover(); - await expect(lineChart).toHaveScreenshot(`01-line-chart.png`); + await expect(example).toHaveScreenshot(`01-line-chart.png`); }); });