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
add page.driver.pause
as additional element for DebuggerMethods of Lint/Debugger
rubocop
#10859
Comments
page.driver.pause
as assitional element for DebuggerMethods of Lint/Debugger
rubocop page.driver.pause
as additional element for DebuggerMethods of Lint/Debugger
rubocop
You should be able to handle this in your Lint/Debugger:
DebuggerMethods:
Cuprite:
- page.driver.pause |
I have opened #10860 to make it more clear how you can add your own debugger methods for the cop, but there are no code changes needed here. |
@dvandersluis Thank you for helping I tried it previously but It is not working. Step to reproduce:
Expected behaviour:
Actual behaviour:
Additional info:robocop (1.32.0) |
@Ivanov-Anton thank you, I can replicate now. The cop is not handling method chains properly. I'll have a PR shortly. |
…hains correctly.
[Fix #10859] Fix `Lint/Debugger` to be able to handle method chains correctly
Is your feature request related to a problem? Please describe.
The problem is when I perform debugging with
page.driver.pause
of Cuprite this line should be detected by robocop.A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
I suggest adding this
page.driver.pause
debugger to DebuggerMethods Configurable attributes of Lint/Debugger copA clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: