Skip to content

Commit 91d5cfb

Browse files
committed
stubs empty instace
1 parent 101880f commit 91d5cfb

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"indexFields":[],"indicesExist":[],"rawResponse":{"timed_out":false,"took":-1,"_shards":{"total":-1,"successful":-1,"failed":-1,"skipped":-1},"hits":{"total":-1,"max_score":-1,"hits":[{"_index":"","_type":"","_id":"","_score":-1,"_source":null}]}}}

x-pack/plugins/security_solution/cypress/integration/overview.spec.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,10 @@ describe('Overview Page', () => {
3535

3636
describe('with no data', () => {
3737
before(() => {
38-
esArchiverUnload('auditbeat');
39-
esArchiverLoad('empty_kibana');
38+
cy.server();
39+
cy.fixture('empty_instance').as('@emptyInstance');
4040
loginAndWaitForPage(OVERVIEW_URL);
41-
});
42-
43-
after(() => {
44-
esArchiverLoad('auditbeat');
45-
esArchiverUnload('empty_kibana');
41+
cy.route('POST', '**/internal/search/securitySolutionIndexFields', '@emptyInstance');
4642
});
4743

4844
it('Splash screen should be here', () => {

0 commit comments

Comments
 (0)