Skip to content

Commit

Permalink
remove other tests in ciGroup3
Browse files Browse the repository at this point in the history
Signed-off-by: Anan <[email protected]>
  • Loading branch information
ananzh committed Feb 21, 2024
1 parent f82d892 commit 5ba2127
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions test/functional/apps/dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ export default function ({ getService, loadTestFile }) {
await opensearchArchiver.unload('dashboard/current/data');
}

async function loadLogstash() {
await browser.setWindowSize(1200, 900);
await opensearchArchiver.loadIfNeeded('logstash_functional');
}
// async function loadLogstash() {
// await browser.setWindowSize(1200, 900);
// await opensearchArchiver.loadIfNeeded('logstash_functional');
// }

async function unloadLogstash() {
await opensearchArchiver.unload('logstash_functional');
}
// async function unloadLogstash() {
// await opensearchArchiver.unload('logstash_functional');
// }

describe('dashboard app', function () {
// This has to be first since the other tests create some embeddables as side affects and our counting assumes
Expand Down Expand Up @@ -101,28 +101,28 @@ export default function ({ getService, loadTestFile }) {
// Each of these tests call initTests themselves, the way it was originally written. The above tests only load
// the data once to save on time. Eventually, all of these tests should just use current data and we can reserve
// legacy data only for specifically testing BWC situations.
describe('using legacy data', function () {
this.tags('ciGroup4');
before(loadLogstash);
after(unloadLogstash);
// describe('using legacy data', function () {
// this.tags('ciGroup4');
// before(loadLogstash);
// after(unloadLogstash);

loadTestFile(require.resolve('./dashboard_time_picker'));
loadTestFile(require.resolve('./bwc_shared_urls'));
loadTestFile(require.resolve('./panel_replacing'));
loadTestFile(require.resolve('./panel_cloning'));
loadTestFile(require.resolve('./panel_context_menu'));
loadTestFile(require.resolve('./dashboard_state'));
});
// loadTestFile(require.resolve('./dashboard_time_picker'));
// loadTestFile(require.resolve('./bwc_shared_urls'));
// loadTestFile(require.resolve('./panel_replacing'));
// loadTestFile(require.resolve('./panel_cloning'));
// loadTestFile(require.resolve('./panel_context_menu'));
// loadTestFile(require.resolve('./dashboard_state'));
// });

describe('using legacy data', function () {
this.tags('ciGroup5');
before(loadLogstash);
after(unloadLogstash);
// describe('using legacy data', function () {
// this.tags('ciGroup5');
// before(loadLogstash);
// after(unloadLogstash);

loadTestFile(require.resolve('./dashboard_save'));
loadTestFile(require.resolve('./dashboard_time'));
loadTestFile(require.resolve('./dashboard_listing'));
loadTestFile(require.resolve('./dashboard_clone'));
});
// loadTestFile(require.resolve('./dashboard_save'));
// loadTestFile(require.resolve('./dashboard_time'));
// loadTestFile(require.resolve('./dashboard_listing'));
// loadTestFile(require.resolve('./dashboard_clone'));
// });
});
}

0 comments on commit 5ba2127

Please sign in to comment.