Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests implementation liberty-ls support in server.xml for diagnostic and quickfix #377

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
08aefcd
code to open server.xml and entry for logging
SuparnaSuresh Nov 12, 2024
c1a82a4
code added for hover and quicfix
SuparnaSuresh Nov 14, 2024
121f17b
Code added to open server.xml
SuparnaSuresh Nov 18, 2024
2771093
Code Added for write text in server.xml
SuparnaSuresh Nov 18, 2024
80d8e87
Code for hover data
SuparnaSuresh Nov 18, 2024
01d668f
Code for quick fix
SuparnaSuresh Nov 18, 2024
3f5e62f
Code formatted
SuparnaSuresh Nov 18, 2024
dbba2a0
removed unwanted code
SuparnaSuresh Nov 18, 2024
3e4affe
Copyright and docuementation
SuparnaSuresh Nov 18, 2024
883f757
Merge branch 'OpenLiberty:main' into issue124-AutomatedTestcaseLCLS
SuparnaSuresh Nov 18, 2024
150019c
Renamed file
SuparnaSuresh Nov 20, 2024
7fdc278
Renamed file to GradleSingleModLCLSTest
SuparnaSuresh Nov 20, 2024
108bfd5
added code to update the old content
SuparnaSuresh Nov 20, 2024
f238c52
updated quick fix element name
SuparnaSuresh Nov 21, 2024
41114d8
Timeout value updated
SuparnaSuresh Nov 21, 2024
fab341b
Timeout value updated
SuparnaSuresh Nov 21, 2024
26b5cdb
GHA build fix - timeout value updated
SuparnaSuresh Nov 21, 2024
8986c67
Merge branch 'OpenLiberty:main' into issue124-AutomatedTestcaseLCLS
SuparnaSuresh Nov 21, 2024
7c60cd8
Added mpHealth
SuparnaSuresh Nov 25, 2024
e7490fa
Merge branch 'OpenLiberty:main' into issue124-AutomatedTestcaseLCLS
SuparnaSuresh Nov 25, 2024
13498f5
await added for find element
SuparnaSuresh Nov 25, 2024
7ee5da3
Merge branch 'OpenLiberty:main' into issue124-AutomatedTestcaseLCLS
SuparnaSuresh Dec 4, 2024
499247d
updated server.xml file
SuparnaSuresh Dec 4, 2024
9c3b83a
updated - added code for new config folder
SuparnaSuresh Dec 4, 2024
4d2fa91
updated the function removeConfigDir
SuparnaSuresh Dec 4, 2024
3515049
server.env file added
SuparnaSuresh Dec 5, 2024
e320f4d
Merge branch 'OpenLiberty:main' into issue124-AutomatedTestcaseLCLS
SuparnaSuresh Dec 6, 2024
a582ac6
GHA build failure - Increased timeout value
SuparnaSuresh Dec 6, 2024
b193cc5
Added test case to coppy server.xml content
SuparnaSuresh Dec 6, 2024
288d1e0
Diagnostic server.xml test case added
SuparnaSuresh Dec 9, 2024
4492afc
updated test case
SuparnaSuresh Dec 9, 2024
45f2c84
changed server.xml path
SuparnaSuresh Dec 9, 2024
2cdd24d
Merge branch 'OpenLiberty:main' into issue124-AutomatedTestcaseLCLS
SuparnaSuresh Dec 16, 2024
80d2951
addressed review comment
SuparnaSuresh Jan 15, 2025
a3ffad9
addressed review comments
SuparnaSuresh Jan 15, 2025
7f3a5f6
updated copyright header year
SuparnaSuresh Jan 17, 2025
03dacdb
resolve conflict
SuparnaSuresh Jan 23, 2025
89ea691
testUtils updated
SuparnaSuresh Jan 23, 2025
b48af36
Merge branch 'OpenLiberty:main' into issue124-AutomatedTestcaseLCLS
SuparnaSuresh Jan 23, 2025
1242961
Updated test cases
SuparnaSuresh Jan 23, 2025
adb4da1
Merge branch 'OpenLiberty:main' into issue124-AutomatedTestcaseLCLS
SuparnaSuresh Jan 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Code formatted
  • Loading branch information
SuparnaSuresh committed Nov 18, 2024
commit 3f5e62fb28eb5dca99cfb4fda945e2412f071f4d
9 changes: 4 additions & 5 deletions src/test/GradleTestDevModeActionsLCLS.ts
Original file line number Diff line number Diff line change
@@ -16,9 +16,9 @@ describe('LCLS Test for Gradle Project', function () {

editor = await new EditorView().openEditor('server.xml') as TextEditor;

const wrongtext = "<logging appsWriteJson = \"wrong\" />";
const correcttext = "<logging appsWriteJson = \"false\" />";
await editor.typeTextAt(17, 5, wrongtext);
const stanzaSnippet = "<logging appsWriteJson = \"wrong\" />";
const expectedText = "<logging appsWriteJson = \"false\" />";
await editor.typeTextAt(17, 5, stanzaSnippet);
await utils.delay(2000);
const LoggingTagElement = editor.findElement(By.xpath("//*[contains(text(), '\"wrong\"')]"));
await utils.delay(3000);
@@ -50,10 +50,9 @@ describe('LCLS Test for Gradle Project', function () {
const fixOption = await editor.findElement(By.xpath("//*[contains(text(), \"Replace with 'false'\")]"));
await fixOption.click();


const updatedContent = await editor.getText();
await utils.delay(3000);
console.log("Content after Quick fix : ", updatedContent);
assert(updatedContent.includes(correcttext), 'quick fix not applied correctly.');
assert(updatedContent.includes(expectedText), 'quick fix not applied correctly.');
}).timeout(25000);
});
Loading