Skip to content

Commit 78c3e0c

Browse files
committed
Stabilize UI tests
This PR uses delays in order to get the "YAML custom tags works as expected" test passing consistently. My best guess as to why this works is that it takes bit of time for the setting change to propagate to the language server. Fixes #1119 Signed-off-by: David Thompson <davthomp@redhat.com>
1 parent 0a252ff commit 78c3e0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/ui-test/customTagsTest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export function customTagsTest(): void {
4343
await textSettingsEditor.typeTextAt(coor[0], coor[1], ' "customTag1"');
4444
}
4545
await textSettingsEditor.save();
46+
await hardDelay(1_000);
4647

4748
editor = (await editorView.openEditor(yamlFileName)) as TextEditor;
4849
await editor.setText('custom');

0 commit comments

Comments
 (0)