Skip to content

Commit

Permalink
Merge branch 'main' into fix-shared-link
Browse files Browse the repository at this point in the history
  • Loading branch information
AMoo-Miki authored Apr 9, 2024
2 parents 0dc86f5 + 255e268 commit ee975c8
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ import {
VB_PATH_SO_DATA,
VB_SO_TYPE,
} from '../../../../../utils/constants';
import { CURRENT_TENANT } from '../../../../../utils/commands';

if (Cypress.env('VISBUILDER_ENABLED')) {
describe('Visualization Builder Base Tests', () => {
before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.deleteIndex(VB_INDEX_ID);
cy.bulkUploadDocs(VB_PATH_INDEX_DATA);
cy.importSavedObjects(VB_PATH_SO_DATA);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ import {
VB_METRIC_VIS_TITLE,
VB_BAR_VIS_TITLE,
} from '../../../../../utils/constants';
import { CURRENT_TENANT } from '../../../../../utils/commands';

if (Cypress.env('VISBUILDER_ENABLED')) {
describe('Visualization Builder Dashboard Tests', () => {
before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.deleteIndex(VB_INDEX_ID);
cy.bulkUploadDocs(VB_PATH_INDEX_DATA);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ import {
VB_METRIC_VIS_TITLE,
VB_PATH_SO_DATA,
} from '../../../../../utils/constants';
import { CURRENT_TENANT } from '../../../../../utils/commands';

if (Cypress.env('VISBUILDER_ENABLED')) {
describe('Visualization Builder Experimental settings', () => {
before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.importSavedObjects(VB_PATH_SO_DATA);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ import {
VB_PATH_INDEX_DATA,
VB_PATH_SO_DATA,
} from '../../../../../../utils/constants';
import { CURRENT_TENANT } from '../../../../../../utils/commands';

if (Cypress.env('VISBUILDER_ENABLED')) {
describe('Vis Builder: Area Chart', () => {
before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.deleteIndex(VB_INDEX_ID);
cy.bulkUploadDocs(VB_PATH_INDEX_DATA);
cy.importSavedObjects(VB_PATH_SO_DATA);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ import {
VB_PATH_INDEX_DATA,
VB_PATH_SO_DATA,
} from '../../../../../../utils/constants';
import { CURRENT_TENANT } from '../../../../../../utils/commands';

if (Cypress.env('VISBUILDER_ENABLED')) {
describe('Vis Builder: Bar Chart', () => {
before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.deleteIndex(VB_INDEX_ID);
cy.bulkUploadDocs(VB_PATH_INDEX_DATA);
cy.importSavedObjects(VB_PATH_SO_DATA);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ import {
VB_PATH_INDEX_DATA,
VB_PATH_SO_DATA,
} from '../../../../../../utils/constants';
import { CURRENT_TENANT } from '../../../../../../utils/commands';

if (Cypress.env('VISBUILDER_ENABLED')) {
describe('Vis Builder: Line Chart', () => {
before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.deleteIndex(VB_INDEX_ID);
cy.bulkUploadDocs(VB_PATH_INDEX_DATA);
cy.importSavedObjects(VB_PATH_SO_DATA);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ import {
VB_PATH_INDEX_DATA,
VB_PATH_SO_DATA,
} from '../../../../../../utils/constants';
import { CURRENT_TENANT } from '../../../../../../utils/commands';

if (Cypress.env('VISBUILDER_ENABLED')) {
describe('Vis Builder: Metric Chart', () => {
before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.deleteIndex(VB_INDEX_ID);
cy.bulkUploadDocs(VB_PATH_INDEX_DATA);
cy.importSavedObjects(VB_PATH_SO_DATA);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ import {
VB_PATH_INDEX_DATA,
VB_PATH_SO_DATA,
} from '../../../../../../utils/constants';
import { CURRENT_TENANT } from '../../../../../../utils/commands';

if (Cypress.env('VISBUILDER_ENABLED')) {
describe('Vis Builder: Table Chart', () => {
before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.deleteIndex(VB_INDEX_ID);
cy.bulkUploadDocs(VB_PATH_INDEX_DATA);
cy.importSavedObjects(VB_PATH_SO_DATA);
Expand Down

0 comments on commit ee975c8

Please sign in to comment.