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

Do not assume remote video menu dom structure and change to click #93

Merged
merged 2 commits into from
Aug 14, 2017
Merged

Do not assume remote video menu dom structure and change to click #93

merged 2 commits into from
Aug 14, 2017

Conversation

virtuacoplenny
Copy link
Contributor

No description provided.

@@ -159,29 +159,25 @@ public void ownerMutesParticipantAndCheck()

WebElement elem = owner.findElement(By.xpath(
TestUtils.getXPathStringForClassName("//span", "remotevideomenu")
+ "/i[@class='icon-thumb-menu']"));
+ "//i[@class='icon-thumb-menu']"));
Copy link
Member

Choose a reason for hiding this comment

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

is it worth having constants for these selectors?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's worthwhile but almost all these files have these selectors inlined. What needs to happen, and what I'd really like to do this year, is start moving these over into page objects to encapsulate these lookups, moving these to constants in the process.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(In other words, I agree but not sure I should do it at this point for consistency.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But then again why not? It is better for readability. I'll just make the change now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants