mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Security Solution] Narrow test skips for Artifact list pages (#140401)
This commit is contained in:
parent
cbbb90ebc9
commit
b36df1914b
2 changed files with 9 additions and 6 deletions
|
@ -16,8 +16,7 @@ import { getDeferred } from '../mocks';
|
|||
|
||||
jest.mock('../../../common/components/user_privileges');
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/129837
|
||||
describe.skip('When using the ArtifactListPage component', () => {
|
||||
describe('When using the ArtifactListPage component', () => {
|
||||
let render: (
|
||||
props?: Partial<ArtifactListPageProps>
|
||||
) => ReturnType<AppContextTestRender['render']>;
|
||||
|
@ -156,7 +155,8 @@ describe.skip('When using the ArtifactListPage component', () => {
|
|||
expect(getByTestId('testPage-flyout')).toBeTruthy();
|
||||
});
|
||||
|
||||
it('should display the Delete modal when delete action is clicked', async () => {
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/129837
|
||||
it.skip('should display the Delete modal when delete action is clicked', async () => {
|
||||
const { getByTestId } = await renderWithListData();
|
||||
await clickCardAction('delete');
|
||||
|
||||
|
@ -227,7 +227,8 @@ describe.skip('When using the ArtifactListPage component', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('should persist policy filter to the URL params', async () => {
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/129837
|
||||
it.skip('should persist policy filter to the URL params', async () => {
|
||||
const policyId = mockedApi.responseProvider.endpointPackagePolicyList().items[0].id;
|
||||
const firstPolicyTestId = `policiesSelector-popover-items-${policyId}`;
|
||||
|
||||
|
|
|
@ -77,12 +77,14 @@ describe('When displaying the Delete artifact modal in the Artifact List Page',
|
|||
10000
|
||||
);
|
||||
|
||||
it('should show Cancel and Delete buttons enabled', async () => {
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/139527
|
||||
it.skip('should show Cancel and Delete buttons enabled', async () => {
|
||||
expect(cancelButton).toBeEnabled();
|
||||
expect(submitButton).toBeEnabled();
|
||||
});
|
||||
|
||||
it('should close modal if Cancel/Close buttons are clicked', async () => {
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/139528
|
||||
it.skip('should close modal if Cancel/Close buttons are clicked', async () => {
|
||||
userEvent.click(cancelButton);
|
||||
|
||||
expect(renderResult.queryByTestId('testPage-deleteModal')).toBeNull();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue