-
Notifications
You must be signed in to change notification settings - Fork 132
MQE-1185: MFTF DragAndDrop Action Is Not Using X, Y Offsets Correctly #255
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
Conversation
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.
I'm not 100% sure what this code change accomplishes. dragAndDropBy
does each of the individual $action->action()->perform()
so I'm not 100% sure how this could fix anything? Was the proposed usecase fixed by this tweak?
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.
Yes, this fix did the trick for the reported use case. I do not know why the previous one did not work.
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.
I ran builds using this change, and I found that there are three tests that fail consistently across builds after the drag and drop change (link sent via DM).
We shouldn't change functionality in a way that breaks tests in a minor/patch release, so if you can find a way to make those tests work with both your new and old drag and drops (and check it in, so the MFTF version bump doesn't break them) we can include this in our next minor.
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.
Tests no longer failing, I don't love the conditional but the changes work.
Description
Fixed Issues (if relevant)
Contribution checklist