-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Add a flutter app that can resize itself as integration test app. #112297
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
4cedb17 to
7def58e
Compare
6ee591f to
4950b8d
Compare
TESTOWNERS
Outdated
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.
yak-shave: sort TESTOWNERS lines alphabetically
4950b8d to
dc4849f
Compare
jmagman
left a comment
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.
Can you use an existing integration test for window resize instead of making a new one?
yaakovschectman
left a comment
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.
lgtm save other comments
|
@jmagman I can.
I think the reason I did it this way is to separate concerns of the integration tests. Regardless, if you want, I can add the test to either of those. |
That doesn't scale well, we don't need a new integration test project for every test. How about |
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.
^
(not that you should implement them, just a comment) |
613d794 to
901f093
Compare
|
@jmagman thanks for the feedback. This PR is much cleaner now thanks to you 👍 . |
901f093 to
109442f
Compare
109442f to
ce1433d
Compare
jmagman
left a comment
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.
LGTM
Screen.Recording.2022-09-23.at.9.30.14.AM.mov
Resizing a macos window after
runAppwas called twice caused the engine to hang. In order to test the fix, four approaches were possible.Approach 4 seems reasonable as it was the easiest to implement.
This commit contains the application and the integration tests that make sure the app works. I plan to follow up on this PR with another that implements the test that checks whether an app hangs after resizing.
partial fix to #92673
Pre-launch Checklist
///).