-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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 maestro e2e test for Legacy Style Event #46784
Add maestro e2e test for Legacy Style Event #46784
Conversation
/test-e2e |
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.
Nice job! Let's see if CI is green!
@cipolleschi, By mistake, I opened the PR for ME2E0006 and ME2E0007 instead of ME2E0005 and ME2E0006. Could you please update the task assignment? |
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
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.
Thanks for the PR. There is a logical issues that we should address before merging this. I left a comment in the code
// $FlowFixMe[incompatible-call] | ||
ref.current, | ||
); | ||
setLegacyStyleEventCount(prevCount => prevCount + 1); |
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.
we should call setLegacyStyleCount
when the event is received by JS. It should be line 126. Otherwise we are not actually tested that the event is sent and received back.
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.
done
20440d3
to
6478ea2
Compare
/test-e2e |
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.
@tarunrajput thanks for working on this and for applying the review suggestions!
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@cipolleschi merged this pull request in 3f63347. |
This pull request was successfully merged by @tarunrajput in 3f63347 When will my fix make it into a release? | How to file a pick request? |
Summary:
part of #46757
closes ME2E0006, ME2E0007
Changelog:
[Internal] - add e2e test for Legacy Style Event
Test Plan: