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

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

Open
wants to merge 61 commits into
base: main
Choose a base branch
from

Conversation

SuparnaSuresh
Copy link
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.

if (pointerBlockedElement) {
await driver.executeScript("arguments[0].style.display = 'none';", pointerBlockedElement);
} else {
console.log('pointerBlockElementt not found!');
Copy link
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.

focusTargtElemnt.click();
await editor.click();

const actns = VSBrowser.instance.driver.actions();
Copy link
Contributor

@gilbysunil14 gilbysunil14 Jan 22, 2025

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.

await actns.move({ origin: focusTargtElemnt }).perform();
await utils.delay(5000);

const hverContent = editor.findElement(By.className('hover-contents'));
Copy link
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 :)

if (pointerBlockedElement) {
await driver.executeScript("arguments[0].style.display = 'none';", pointerBlockedElement);
} else {
console.log('pointerBlockElementt not found!');
Copy link
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
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
Contributor

@gilbysunil14 gilbysunil14 left a comment

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.

@@ -1,3 +1,4 @@

/**
* Copyright (c) 2020, 2022 IBM Corporation.
Copy link
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.

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