chore: E2E tests for Drill to Detail supported Charts (#21681)

This commit is contained in:
Geido
2022-10-05 19:54:51 +03:00
committed by GitHub
parent b6891aaa9f
commit 7b66e0bb34
24 changed files with 489 additions and 206 deletions

View File

@@ -27,6 +27,11 @@ import {
// Table
describe('Visualization > Table', () => {
beforeEach(() => {
cy.preserveLogin();
interceptChart({ legacy: false }).as('chartData');
});
const VIZ_DEFAULTS = {
...FORM_DATA_DEFAULTS,
viz_type: 'table',
@@ -43,11 +48,6 @@ describe('Visualization > Table', () => {
optionName: 'metric_6qwzgc8bh2v_zox7hil1mzs',
};
beforeEach(() => {
cy.login();
interceptChart({ legacy: false }).as('chartData');
});
it('Use default time column', () => {
cy.visitChartByParams({
...VIZ_DEFAULTS,