Skip to content

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

Merged
merged 5 commits into from
Nov 14, 2018

Conversation

jilu1
Copy link
Contributor

@jilu1 jilu1 commented Oct 23, 2018

  • bug fix

Description

Fixed Issues (if relevant)

  1. magento/magento2-functional-testing-framework#<issue_number>: Issue title
  2. ...

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/verification tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)
  • Changes to Framework doesn't have backward incompatible changes for tests or have related Pull Request with fixes to tests

@coveralls
Copy link

coveralls commented Oct 23, 2018

Coverage Status

Coverage increased (+0.008%) to 57.4% when pulling 8600e8b on MQE-1185 into c53b77a on develop.

Copy link
Contributor

@KevinBKozan KevinBKozan left a 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?

Copy link
Contributor Author

@jilu1 jilu1 left a 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.

Copy link
Contributor

@KevinBKozan KevinBKozan left a 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.

@magento-engcom-team magento-engcom-team deleted the MQE-1185 branch November 9, 2018 11:29
@VladimirZaets VladimirZaets restored the MQE-1185 branch November 9, 2018 14:00
@VladimirZaets VladimirZaets reopened this Nov 9, 2018
Copy link
Contributor

@KevinBKozan KevinBKozan left a 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.

@jilu1 jilu1 merged commit 7136da4 into develop Nov 14, 2018
@jilu1 jilu1 deleted the MQE-1185 branch November 14, 2018 20:36
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.

5 participants