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

Interface for Select component extracted #2104

Merged
merged 5 commits into from
May 15, 2016

Conversation

YevheniiaSilbernagl
Copy link
Contributor

@YevheniiaSilbernagl YevheniiaSilbernagl commented May 13, 2016

This interface will allow to create custom realisation of like-select components, which actually do not have select tag inside.

This interface will allow to create custom realisation of like-select components, which actually do not have select tag inside.
@YevheniiaSilbernagl
Copy link
Contributor Author

could somebody help me to understand what is the problem with tests?

@lukeis
Copy link
Member

lukeis commented May 13, 2016

It's not the tests, you have compilation issues. First you need to add an entry in the BUCK and build.desc in the same folder. Next you should make the methods on the new interface public.

@YevheniiaSilbernagl
Copy link
Contributor Author

@lukeis Thank you for your support, I've fixed that issues, but is still fails. Sems like in a py module, but I didn't change py code, could you please take a look once more time?

@@ -31,6 +31,7 @@ java_library(name = "components",

java_library(name = "elements",
srcs = [
'ISelect.java',
Copy link
Member

Choose a reason for hiding this comment

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

double quotes required

@@ -59,20 +59,23 @@ public Select(WebElement element) {
* @return Whether this select element support selecting multiple options at the same time? This
* is done by checking the value of the "multiple" attribute.
*/
@Override
Copy link
Member

Choose a reason for hiding this comment

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

can you revert all the Overrides added? it's not required for implementing interfaces, only overriding methods extended.

@YevheniiaSilbernagl
Copy link
Contributor Author

@lukeis overrides removed, tests passed

@lukeis lukeis merged commit f73c7c1 into SeleniumHQ:master May 15, 2016
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.

None yet

2 participants