Skip to content

Commit

Permalink
get rid of switching table
Browse files Browse the repository at this point in the history
Signed-off-by: Qingyang(Abby) Hu <[email protected]>
  • Loading branch information
abbyhu2000 committed Sep 25, 2024
1 parent 0e11e06 commit be1f578
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('date_nanos', () => {

cy.setTopNavDate(fromTime, toTime);
cy.waitForSearch();
cy.switchDiscoverTable('new');
//cy.switchDiscoverTable('new');
});

after(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('date_nanos_mixed', () => {
const toTime = 'Jan 1, 2019 @ 23:59:59.999';
cy.setTopNavDate(fromTime, toTime);
cy.waitForSearch();
cy.switchDiscoverTable('new');
//cy.switchDiscoverTable('new');
});

after(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('discover app', { scrollBehavior: false }, () => {
);
cy.waitForLoader();
cy.waitForSearch();
cy.switchDiscoverTable('new');
//cy.switchDiscoverTable('new');
});

beforeEach(() => {
Expand Down Expand Up @@ -144,7 +144,7 @@ describe('discover app', { scrollBehavior: false }, () => {
before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.fleshTenantSettings();
cy.switchDiscoverTable('new');
//cy.switchDiscoverTable('new');
cy.setTopNavDate(fromTime, toTime);
});

Expand Down Expand Up @@ -259,7 +259,7 @@ describe('discover app', { scrollBehavior: false }, () => {

describe('refresh interval', function () {
beforeEach(() => {
cy.switchDiscoverTable('new');
//cy.switchDiscoverTable('new');
});

it('should refetch when autofresh is enabled', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('discover_advanced_setting', () => {
});

describe('Default Sort Order advanced setting', () => {
it('check Default Sort Order Descending is respected in new table', function () {
it.skip('check Default Sort Order Descending is respected in new table', function () {
cy.setAdvancedSetting({
'discover:sort:defaultOrder': 'desc',
});
Expand All @@ -123,7 +123,7 @@ describe('discover_advanced_setting', () => {
});
});

it('check Default Sort Order Ascending is respected in new table', function () {
it.skip('check Default Sort Order Ascending is respected in new table', function () {
cy.setAdvancedSetting({
'discover:sort:defaultOrder': 'asc',
});
Expand Down Expand Up @@ -194,7 +194,7 @@ describe('discover_advanced_setting', () => {
});
});

describe('Number of rows advanced setting', () => {
describe.skip('Number of rows advanced setting', () => {
before(() => {
CURRENT_TENANT.newTenant = 'global';
cy.fleshTenantSettings();
Expand Down Expand Up @@ -266,7 +266,7 @@ describe('discover_advanced_setting', () => {
});
});

it('check time is not added on removing last column when hideTimeColumn is true in new table', function () {
it.skip('check time is not added on removing last column when hideTimeColumn is true in new table', function () {
miscUtils.visitPage(
`app/data-explorer/discover#/?_g=(filters:!(),time:(from:'2015-09-19T13:31:44.000Z',to:'2015-09-24T01:31:44.000Z'))`
);
Expand Down Expand Up @@ -321,7 +321,7 @@ describe('discover_advanced_setting', () => {
});
});

it('check new table respects doc_table:highlight setting', function () {
it.skip('check new table respects doc_table:highlight setting', function () {
// check if we have highlighted fields
cy.get('mark').should('exist');

Expand Down Expand Up @@ -384,7 +384,7 @@ describe('discover_advanced_setting', () => {
});
});

it('check defaultcolumns setting is respected in new table', function () {
it.skip('check defaultcolumns setting is respected in new table', function () {
cy.setAdvancedSetting({
defaultColumns: ['host', 'agent'],
});
Expand Down Expand Up @@ -481,7 +481,7 @@ describe('modifyColumnsOnSwitch advanced setting', () => {
*/
});

it('check columns still available after switching data sources in new table', function () {
it.skip('check columns still available after switching data sources in new table', function () {
miscUtils.visitPage(
`app/data-explorer/discover#/?_a=(discover:(metadata:(indexPattern:'logstash-*',view:discover))&_g=(filters:!(),time:(from:'2015-09-19T13:31:44.000Z',to:'2015-09-24T01:31:44.000Z'))`
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('discover_table', () => {
});
});

describe('dynamic height of row in new table', () => {
describe.skip('dynamic height of row in new table', () => {
before(() => {
cy.switchDiscoverTable('new');
cy.waitForLoader();
Expand Down Expand Up @@ -121,7 +121,7 @@ describe('discover_table', () => {
});
});

describe('data source selector', () => {
describe.skip('data source selector', () => {
before(() => {
// Creating additional index patterns
// logstash index pattern
Expand Down Expand Up @@ -305,7 +305,7 @@ describe('discover_table', () => {
});
});

describe('Saved Search in new table', () => {
describe.skip('Saved Search in new table', () => {
before(() => {
cy.switchDiscoverTable('new');
});
Expand Down Expand Up @@ -453,7 +453,7 @@ describe('discover_table', () => {
cy.waitForSearch();
});
});
describe('New Table', () => {
describe.skip('New Table', () => {
before(() => {
cy.switchDiscoverTable('new');
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('discover doc table', () => {
`app/data-explorer/discover#/?_g=(filters:!(),time:(from:'2015-09-19T13:31:44.000Z',to:'2015-09-24T01:31:44.000Z'))`
);
cy.waitForLoader();
cy.switchDiscoverTable('new');
//cy.switchDiscoverTable('new');
cy.waitForSearch();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('discover tab', () => {
);
cy.waitForLoader();
cy.waitForSearch();
cy.switchDiscoverTable('new');
//cy.switchDiscoverTable('new');
});

after(() => {});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('index pattern with encoded id', () => {
// Go to the Discover page
miscUtils.visitPage('app/data-explorer/discover#/');
cy.setTopNavDate(DE_DEFAULT_START_TIME, DE_DEFAULT_END_TIME);
cy.switchDiscoverTable('new');
//cy.switchDiscoverTable('new');
cy.waitForLoader();
});

Expand Down

0 comments on commit be1f578

Please sign in to comment.