Skip to content

Commit

Permalink
[Security Solution] expandable flyout - move visualizations section up (
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeOberti authored Jul 11, 2023
1 parent 33ece6e commit a792697
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,23 @@ describe(
});
});

describe('visualizations section', () => {
it('should display analyzer and session previews', () => {
toggleOverviewTabAboutSection();
toggleOverviewTabVisualizationsSection();

cy.log('analyzer graph preview');

cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_ANALYZER_TREE).scrollIntoView();
cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_ANALYZER_TREE).should('be.visible');

cy.log('session view preview');

cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_SESSION_PREVIEW).scrollIntoView();
cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_SESSION_PREVIEW).should('be.visible');
});
});

describe('investigation section', () => {
it('should display investigation section', () => {
toggleOverviewTabAboutSection();
Expand Down Expand Up @@ -321,22 +338,5 @@ describe(
cy.get(DOCUMENT_DETAILS_FLYOUT_INSIGHTS_TAB_ENTITIES_CONTENT).should('be.visible'); // TODO update when we can navigate to Prevalence sub tab directly
});
});

describe('visualizations section', () => {
it('should display analyzer and session previews', () => {
toggleOverviewTabAboutSection();
toggleOverviewTabVisualizationsSection();

cy.log('analyzer graph preview');

cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_ANALYZER_TREE).scrollIntoView();
cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_ANALYZER_TREE).should('be.visible');

cy.log('session view preview');

cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_SESSION_PREVIEW).scrollIntoView();
cy.get(DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB_SESSION_PREVIEW).should('be.visible');
});
});
}
);
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ export const OverviewTab: FC = memo(() => {
<>
<AboutSection />
<EuiHorizontalRule margin="l" />
<VisualizationsSection />
<EuiHorizontalRule margin="l" />
<InvestigationSection />
<EuiHorizontalRule margin="l" />
<InsightsSection />
<EuiHorizontalRule margin="l" />
<VisualizationsSection />
</>
);
});
Expand Down

0 comments on commit a792697

Please sign in to comment.