-
Notifications
You must be signed in to change notification settings - Fork 15
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
{Draft} Refactor: Test cases #4
base: master
Are you sure you want to change the base?
{Draft} Refactor: Test cases #4
Conversation
// navbarHeader.source((res) => console.log(res)); | ||
// const result = await navbarHeader.api.elementIdElements( | ||
// '@versionDropdown', | ||
// 'css selector', | ||
// 'a', | ||
// (res) => console.log(res) | ||
// ); | ||
// navbarHeader.assert.equal(result.value.length, 2, 'There are two option elements in the drop down'); | ||
// }, | ||
|
||
// 'check if elementIdElement (single) works as expected on page objects': async function (client) { | ||
// const navbarHeader = this.homepage.section.navbarHeader; | ||
|
||
// const result = await navbarHeader.api.elementIdElement('@versionDropdownOption', 'css selector', 'a'); | ||
// client.assert.ok( | ||
// client.WEBDRIVER_ELEMENT_ID in result.value, | ||
// `The Webdriver Element Id ${client.WEBDRIVER_ELEMENT_ID} is found in the result` | ||
// ); | ||
// }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@beatfactor I need help here,
const result = await navbarHeader.api.elementIdElement('@versionDropdownOption', 'css selector', 'a');
I am getting empty value whenever I run this case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.