Skip to content

Commit 0da4c7d

Browse files
committed
Fix TemplateCreate tests
1 parent f26a0f3 commit 0da4c7d

File tree

2 files changed

+207
-203
lines changed

2 files changed

+207
-203
lines changed

x-pack/plugins/index_management/__jest__/client_integration/helpers/template_form.helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* or more contributor license agreements. Licensed under the Elastic License;
44
* you may not use this file except in compliance with the Elastic License.
55
*/
6-
76
import { TestBed, SetupFunc, UnwrapPromise } from '../../../../../test_utils';
87
import { Template } from '../../../common/types';
98
import { nextTick } from './index';
@@ -121,8 +120,9 @@ export const formSetup = async (initTestBed: SetupFunc<TestSubjects>) => {
121120
await nextTick();
122121
}
123122

124-
clickNextButton();
125123
await nextTick(50); // hooks updates cycles are tricky, adding some latency is needed
124+
clickNextButton();
125+
await nextTick(50);
126126
component.update();
127127
};
128128

0 commit comments

Comments
 (0)