Skip to content

[py] remove unused kind arg of WheelInput#10463

Merged
titusfortner merged 5 commits intoSeleniumHQ:trunkfrom
symonk:remove-redundant-kind-wheelinput-arg
May 9, 2022
Merged

[py] remove unused kind arg of WheelInput#10463
titusfortner merged 5 commits intoSeleniumHQ:trunkfrom
symonk:remove-redundant-kind-wheelinput-arg

Conversation

@symonk
Copy link
Copy Markdown
Member

@symonk symonk commented Mar 20, 2022

Fixes #10210, this method looks like it blindly copy/pasted from add_pointer_input(...) originally. Still need to add a test for this and looking at WheelInput in general it looks a little neglected/unused, will try understand what it's for exactly and tidy up.

(tests incoming when my local setup is working shortly)

I suspect there is more work to do on this class; some instances are being passed name=interaction.WHEEL but it defines internally a self.type=interaction.WHEEL so possibly other bugs there as well.

@symonk symonk changed the title remove unused kind arg of WheelInput [python] remove unused kind arg of WheelInput Mar 20, 2022
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 20, 2022

Codecov Report

Merging #10463 (d61510b) into trunk (86ee772) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##            trunk   #10463   +/-   ##
=======================================
  Coverage   45.02%   45.02%           
=======================================
  Files          85       85           
  Lines        5508     5508           
  Branches      268      268           
=======================================
  Hits         2480     2480           
  Misses       2760     2760           
  Partials      268      268           
Impacted Files Coverage Δ
...elenium/webdriver/common/actions/action_builder.py 39.65% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86ee772...d61510b. Read the comment docs.

@symonk symonk changed the title [python] remove unused kind arg of WheelInput python: remove unused kind arg of WheelInput Mar 29, 2022
@titusfortner titusfortner added the C-py Python Bindings label Apr 13, 2022
Copy link
Copy Markdown
Contributor

@SinghHrmn SinghHrmn left a comment

Choose a reason for hiding this comment

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

LGTM

@symonk symonk changed the title python: remove unused kind arg of WheelInput [py] remove unused kind arg of WheelInput Apr 19, 2022
@titusfortner titusfortner merged commit b618549 into SeleniumHQ:trunk May 9, 2022
elgatov pushed a commit to elgatov/selenium that referenced this pull request Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-py Python Bindings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🐛 Bug]: action_builder.ActionBuilder.add_wheel_input throws TypeError

5 participants