chore: Add menu to test-manual-e2e script#32911
Conversation
Base commit: 2151d11 |
Base commit: 2151d11 |
|
Amazing! Let me take a closer look later today! Thanks so much for working on this! |
|
Neat! Minor suggestion… when expecting input from the user, maybe prepend the line with |
Sure @yungsters, I've just updated it to a prepend the line with |
That's great stuff. Just a minor question: wouldn't supporting cli arguments a better approach here? Having something like Asking as if this is happening inside a development loop, having to go through a menu selection will introduce a lot of friction. |
@lunaleaps @yungsters thoughts on this? I personally don't have much context of how/when this is used so my opinion wouldn't really add much value here |
|
Yea that's a good suggestion, maybe we can do both? Currently this isn't part of a dev loop but it would be great to use this for our CI tests |
How would this work? Would we bypass the menu if any arguments were provided? If that's the case what do you think about supporting the following arguments?
Combining arguments examples:
Also, should I tackle this in a follow-up PR or should I add these changes to this one? cc: @lunaleaps @cortinico |
My 2 cents: I think the menu could be ditched as it probably adds a bit of complexity to the script. It's a nice to have though so as it's already coded, I think we can eventually keep it. Anyway I believe you should just skip the menu if any positional argument is passed 👍 I would suggest to:
Also remove the Combining arguments should intersect them:
|
|
Yup all sound good, re: separate PR or this one, maybe let's merge this one and do a follow-up? |
|
@lunaleaps has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Cool, sounds good to me |
|
This pull request was successfully merged by @gabrieldonadel in 1ec3997. When will my fix make it into a release? | Upcoming Releases |

Summary
Add a menu to the test-manual-e2e script in order to allow a user to select which scenario they want to test rather than having to run them all in order.
Closes #32679
Changelog
[Internal] [Added] - Add menu to test-manual-e2e.sh in order to accept configurations
Test Plan
Manually run
./scripts/test-manual-e2e.shand test all menu optionsScreen.Recording.2022-01-17.at.23.35.05.mov