mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
added beta tag for linux config (#142171)
This commit is contained in:
parent
fb6b10e232
commit
b62c0f98cf
2 changed files with 8 additions and 1 deletions
|
@ -135,6 +135,13 @@ describe('Policy Form Layout', () => {
|
|||
expect(saveButton).toHaveLength(1);
|
||||
expect(saveButton.text()).toEqual('Save');
|
||||
});
|
||||
it('should display beta badge', async () => {
|
||||
await asyncActions;
|
||||
policyFormLayoutView.update();
|
||||
const saveButton = policyFormLayoutView.find('EuiBetaBadge');
|
||||
expect(saveButton).toHaveLength(1);
|
||||
expect(saveButton.text()).toEqual('beta');
|
||||
});
|
||||
describe('when the save button is clicked', () => {
|
||||
let saveButton: FindReactWrapperResponse;
|
||||
let confirmModal: FindReactWrapperResponse;
|
||||
|
|
|
@ -88,7 +88,7 @@ const SUPPLEMENTAL_OPTIONS: ReadonlyArray<SupplementalEventFormOption<OperatingS
|
|||
isDisabled: (config: UIPolicyConfig) => {
|
||||
return !config.linux.events.session_data;
|
||||
},
|
||||
beta: false,
|
||||
beta: true,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue