Skip to content

Commit b8a62c6

Browse files
committed
Merge branch 'master' of https://github.com/elastic/kibana into fix_alerting_security
2 parents 4e701a5 + 06355e8 commit b8a62c6

File tree

14 files changed

+44
-79
lines changed

14 files changed

+44
-79
lines changed

test/functional/apps/dashboard/dashboard_filter_bar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export default function ({ getService, getPageObjects }) {
3030
const browser = getService('browser');
3131
const PageObjects = getPageObjects(['common', 'dashboard', 'header', 'visualize', 'timePicker']);
3232

33-
describe('dashboard filter bar', () => {
33+
// FLAKY: https://github.com/elastic/kibana/issues/71987
34+
describe.skip('dashboard filter bar', () => {
3435
before(async () => {
3536
await esArchiver.load('dashboard/current/kibana');
3637
await kibanaServer.uiSettings.replace({

test/functional/apps/visualize/_tsvb_chart.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
2828
const security = getService('security');
2929
const PageObjects = getPageObjects(['visualize', 'visualBuilder', 'timePicker', 'visChart']);
3030

31-
describe('visual builder', function describeIndexTests() {
31+
// FLAKY: https://github.com/elastic/kibana/issues/71979
32+
describe.skip('visual builder', function describeIndexTests() {
3233
this.tags('includeFirefox');
3334
beforeEach(async () => {
3435
await security.testUser.setRoles([

x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ function getBaseTemplate(
262262
index: {
263263
// ILM Policy must be added here, for now point to the default global ILM policy name
264264
lifecycle: {
265-
name: `${type}-default`,
265+
name: type,
266266
},
267267
// What should be our default for the compression?
268268
codec: 'best_compression',

x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class MVTSingleLayerSourceSettings extends Component<Props, State> {
133133
label={i18n.translate(
134134
'xpack.maps.source.MVTSingleLayerVectorSourceEditor.layerNameMessage',
135135
{
136-
defaultMessage: 'Tile layer',
136+
defaultMessage: 'Source layer',
137137
}
138138
)}
139139
>

x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('getImmutableSourceProperties', () => {
8484
const source = new MVTSingleLayerVectorSource(descriptor);
8585
const properties = await source.getImmutableProperties();
8686
expect(properties).toEqual([
87-
{ label: 'Data source', value: '.pbf vector tiles' },
87+
{ label: 'Data source', value: 'Vector tiles' },
8888
{ label: 'Url', value: 'https://example.com/{x}/{y}/{z}.pbf' },
8989
]);
9090
});

x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { ITooltipProperty, TooltipProperty } from '../../tooltips/tooltip_proper
3232
export const sourceTitle = i18n.translate(
3333
'xpack.maps.source.MVTSingleLayerVectorSource.sourceTitle',
3434
{
35-
defaultMessage: '.pbf vector tiles',
35+
defaultMessage: 'Vector tiles',
3636
}
3737
);
3838

x-pack/plugins/security_solution/public/common/utils/test_utils.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

x-pack/plugins/security_solution/public/detections/components/value_lists_management_modal/form.test.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import React, { FormEvent } from 'react';
77
import { mount, ReactWrapper } from 'enzyme';
88
import { act } from 'react-dom/test-utils';
99

10-
import { waitForUpdates } from '../../../common/utils/test_utils';
1110
import { TestProviders } from '../../../common/mock';
1211
import { ValueListsForm } from './form';
1312
import { useImportList } from '../../../shared_imports';
@@ -30,10 +29,6 @@ const mockSelectFile: <P>(container: ReactWrapper<P>, file: File) => Promise<voi
3029
fileChange(([file] as unknown) as FormEvent);
3130
}
3231
});
33-
await waitForUpdates(container);
34-
expect(
35-
container.find('button[data-test-subj="value-lists-form-import-action"]').prop('disabled')
36-
).not.toEqual(true);
3732
};
3833

3934
describe('ValueListsForm', () => {
@@ -68,7 +63,6 @@ describe('ValueListsForm', () => {
6863
await mockSelectFile(container, mockFile);
6964

7065
container.find('button[data-test-subj="value-lists-form-import-action"]').simulate('click');
71-
await waitForUpdates(container);
7266

7367
expect(mockImportList).toHaveBeenCalledWith(expect.objectContaining({ file: mockFile }));
7468
});
@@ -80,12 +74,11 @@ describe('ValueListsForm', () => {
8074
}));
8175

8276
const onError = jest.fn();
83-
const container = mount(
77+
mount(
8478
<TestProviders>
8579
<ValueListsForm onError={onError} onSuccess={jest.fn()} />
8680
</TestProviders>
8781
);
88-
await waitForUpdates(container);
8982

9083
expect(onError).toHaveBeenCalledWith('whoops');
9184
});
@@ -97,12 +90,11 @@ describe('ValueListsForm', () => {
9790
}));
9891

9992
const onSuccess = jest.fn();
100-
const container = mount(
93+
mount(
10194
<TestProviders>
10295
<ValueListsForm onSuccess={onSuccess} onError={jest.fn()} />
10396
</TestProviders>
10497
);
105-
await waitForUpdates(container);
10698

10799
expect(onSuccess).toHaveBeenCalledWith({ mockResult: true });
108100
});

0 commit comments

Comments
 (0)