-
Notifications
You must be signed in to change notification settings - Fork 673
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
Fix scrolling for negative scroll target coordinates(closes #2148) #2164
Conversation
✅ Tests for the commit 96740ef have passed. See details: |
❌ Tests for the commit ffce348 have failed. See details: |
src/errors/test-run/templates.js
Outdated
@@ -198,6 +198,10 @@ export default { | |||
The "${err.argumentName}" argument specifies an unsupported "${err.actualValue}" device. For a list of supported devices, refer to <a href="http://viewportsizes.com">http://viewportsizes.com</a>. | |||
`), | |||
|
|||
[TYPE.actionInvalidScrollTargetError]: err => markup(err, ` | |||
Unable to scroll to the specified point of the element, because a point with the specified ${err.properties} is not inside the element's cropping region. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let @VasilyStrelyaev check the text, if it's not done yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unable to scroll to the specified point because a point with the specified ${err.properties} is not located inside the element's cropping region.
src/errors/test-run/templates.js
Outdated
@@ -198,6 +198,10 @@ export default { | |||
The "${err.argumentName}" argument specifies an unsupported "${err.actualValue}" device. For a list of supported devices, refer to <a href="http://viewportsizes.com">http://viewportsizes.com</a>. | |||
`), | |||
|
|||
[TYPE.actionInvalidScrollTargetError]: err => markup(err, ` | |||
Unable to scroll to the specified point of the element, because a point with the specified ${err.properties} is not inside the element's cropping region. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unable to scroll to the specified point because a point with the specified ${err.properties} is not located inside the element's cropping region.
❌ Tests for the commit edc423f have failed. See details: |
✅ Tests for the commit edc423f have passed. See details: |
\cc @helen-dikareva @kirovboris