Skip to content

Issue436 - Automated test case versionless feature server.xml#449

Open
SuparnaSuresh wants to merge 64 commits into
OpenLiberty:mainfrom
SuparnaSuresh:AutomatedTestCaseVersionlessFeature
Open

Issue436 - Automated test case versionless feature server.xml#449
SuparnaSuresh wants to merge 64 commits into
OpenLiberty:mainfrom
SuparnaSuresh:AutomatedTestCaseVersionlessFeature

Conversation

@SuparnaSuresh

Copy link
Copy Markdown
Contributor

The PR raised for Fixes #436 includes
Fixes #442
Fixes #443
Fixes #444
Fixes #445
Fixes #446
Fixes #446
Fixes #447
Fixes #448

Automated the test cases for server.xml versionless features.

Comment thread src/test/GradleSingleModLCLSTest.ts Outdated
if (pointerBlockedElement) {
await driver.executeScript("arguments[0].style.display = 'none';", pointerBlockedElement);
} else {
console.log('pointerBlockElementt not found!');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put valid log statements.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed. Thanks

Comment thread src/test/GradleSingleModLCLSTest.ts Outdated
focusTargtElemnt.click();
await editor.click();

const actns = VSBrowser.instance.driver.actions();

@gilbysunil14 gilbysunil14 Jan 22, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo actions. Kindly check for similar typos.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed. Thanks

Comment thread src/test/GradleSingleModLCLSTest.ts Outdated
await actns.move({ origin: focusTargtElemnt }).perform();
await utils.delay(5000);

const hverContent = editor.findElement(By.className('hover-contents'));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly be aware while naming variables. It should be meaningful and should not have typos. It is considered as a good practice :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed. Thanks

Comment thread src/test/GradleSingleModLCLSTest.ts Outdated
if (pointerBlockedElement) {
await driver.executeScript("arguments[0].style.display = 'none';", pointerBlockedElement);
} else {
console.log('pointerBlockElementt not found!');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put meaningful log statements.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly check for similar log statements.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed. Thanks

@gilbysunil14 gilbysunil14 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have few comments. Please check.

Comment thread src/test/definitions/constants.ts Outdated
@@ -1,3 +1,4 @@

/**
* Copyright (c) 2020, 2022 IBM Corporation.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the year in copyright header.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed. Thanks

@SuparnaSuresh

Copy link
Copy Markdown
Contributor Author

Review comments addressed. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment