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

Delete deprecated FindsBy* interfaces #8367

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

bongosway
Copy link
Contributor

Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it

Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.

Description

Delete deprecated FindsBy* interfaces

Motivation and Context

Fixes #8175

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@bongosway
Copy link
Contributor Author

bongosway commented May 31, 2020

TestUtilities.java is referencing HtmlUnit Driver, therefore cannot compile. Which in turn causes some tests to fail e.g. UsingPageFactoryTest.java
I have raised issue here SeleniumHQ/htmlunit-driver#89

Will it better to completely decouple htmlunit from TestUtilities.java given the fact they are not colocated and from my understanding not updated at the same pace?

@bongosway bongosway marked this pull request as ready for review May 31, 2020 14:50
@barancev
Copy link
Member

barancev commented Jun 1, 2020

Looks like an improved copy of my experimental branch killing_FindByXXX:
0dc3abc

The decision is not made yet if we're going to merge this branch. Yes, we're going to remove FindByXXX classes, but the implementation is not choosen yet.

@bongosway
Copy link
Contributor Author

Looks like an improved copy of my experimental branch killing_FindByXXX:
0dc3abc

The decision is not made yet if we're going to merge this branch. Yes, we're going to remove FindByXXX classes, but the implementation is not choosen yet.

Yes. you are correct. it is an improved copy and I referenced it in the original ticket.
Sure no worries if decision is not reached yet or if you need to close this PR.

Copy link
Member

@shs96c shs96c left a comment

Choose a reason for hiding this comment

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

I like that this leaves the original semantics in place, which is important. Thank you for picking this up!

@shs96c
Copy link
Member

shs96c commented Jun 2, 2020

I suggest we merge this. It moves us forward, deletes the original interfaces, and appears to leave the original semantics in place.

@shs96c shs96c merged commit 6d9f39d into SeleniumHQ:master Jun 2, 2020
@shs96c
Copy link
Member

shs96c commented Jun 2, 2020

Thank you @bongosway!

@bongosway
Copy link
Contributor Author

bongosway commented Jun 2, 2020

Thank you @bongosway!

👍
Thank you too for cleaning up. Truly appreciate your support.

titusfortner pushed a commit to titusfortner/selenium that referenced this pull request Aug 13, 2020
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.

[Java] Delete deprecated FindsBy* interfaces
3 participants