Skip to content

Commit

Permalink
Added test case list
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-tavares committed Apr 22, 2020
1 parent 0e81f5d commit c7cc910
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ describe('when on the hosts page', () => {
const changedUrlAction = await userChangedUrlChecker;
expect(changedUrlAction.payload.search).toEqual('?selected_host=1&show=policy_response');
});
it.todo('should display Success overall policy status');
it.todo('should display Warning overall policy status');
it.todo('should display Failed overall policy status');
it.todo('should display Unknown overall policy status');
it('should include the link to logs', async () => {
const renderResult = render();
const linkToLogs = await renderResult.findByTestId('hostDetailsLinkToLogs');
Expand All @@ -174,7 +178,7 @@ describe('when on the hosts page', () => {
expect(coreStart.application.navigateToApp.mock.calls).toHaveLength(1);
});
});
describe('when showing host Policy Response', () => {
describe('when showing host Policy Response panel', () => {
let renderResult: ReturnType<typeof render>;
beforeEach(async () => {
renderResult = render();
Expand Down

0 comments on commit c7cc910

Please sign in to comment.