File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/test/java/io/openliberty/tools/intellij/it Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1080,7 +1080,11 @@ else if (fileName.equals("bootstrap.properties")) {
10801080 // we will put new config at the end of the config file
10811081 // (after the last line already in the file)
10821082 keyboard .hotKey (VK_CONTROL , VK_END );
1083+ // Move to the end of the current line to ensure we're at the end of the last line
1084+ keyboard .hotKey (VK_END );
10831085 keyboard .enter ();
1086+ // Wait for the editor to process the newline before typing
1087+ TestUtils .sleepAndIgnoreException (1 );
10841088
10851089 keyboard .enterText (configNameSnippetCaseSpecific );
10861090 // After typing it can take 1 or 2s for IntelliJ to render diagnostics etc. Must wait before continuing.
You can’t perform that action at this time.
0 commit comments