-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enable multitouch testing on CT #106
Comments
Looking at InputFuzzer.fuzzEvents: Every frame there is a chance that 0 - N actions will be made, where N default is currently 100. Actions are random in their selection, while making sure that the number of pointers down doesn't exceed I sampled 10,000 actions with |
When I run fuzzing with
The friction and BASE issues are likely the same problem, and I expect would likely show up in other sims with a11y. EDIT: Another note, it looks like the masses-and-springs-basics issues is on CT with fuzzing only one pointer. EDIT2: I ran the tests again, and saw same number of assertions thrown, but |
phetsims/scenery-phet#622 resolves the GrabDragInteraction issues. the masses-and-springs-basics issue is handled in phetsims/masses-and-springs-basics#67. The only issue remaining is in make-a-ten. |
A new one popped up
|
Running tests again locally with longer duration before committing to change because #106 (comment) did not appear first run through. Currently at 'B' sims with |
Here is the new list after fuzzing for one minute per sim:
EDIT: Converting to checkboxes. |
Looks like the remaining issues are specific to each sim. Putting on developer meeting to review. In my opinion the remaining list is pretty short so it seems worth working on so we can fuzz with multiple pointers, and also test zoom feature with fuzzing. |
@jessegreenberg will make issues in the above repos, and then we will turn this on after those are sorted out. |
There has been no movement on this issue, and sim-specific issues have not been created. Assigning to @ariel-phet and labeling for developer meeting to decide how to proceed. My recommendation is to enabled multi-touch fuzz testing, and have responsible devs fix their sims. |
@jessegreenberg will be moving this issue forward @pixelzoom |
Issues have been made for the list in #106 (comment). I am running aqua again locally with ?fuzz&fuzzPointers=2&testDuration=30000, in case anything new has been introduced since last checked. At 'f' sims so far and assertions are the same. |
OK, fuzz testing finished and the list of issues is the same. Issues have been created for all. 5 sims in total have issues. Would devs like this to be enabled now, or would you prefer to wait until these are resolved before changing CT? |
@jessegreenberg can you please post the query parameters used for the failures that you noted in #106 (comment)? |
The query parameters used were the ones used by aqua: Though I think the important ones are |
My preference is to enable this now, and address the problems now. Otherwise we'll have to continue to iterate on this again, possibly with new problems on each iteration. |
At dev meeting today, we decided to just add it, and handle the errors as they appear on CT. |
2/4/21 dev meeting: We noted that there are some new CT issues related to this, and decided to create sim-specific issues to address them. @jessegreenberg will add an option to phetmarks for this feature, then can close this. |
I added a checkbox for fuzzPointers=2 to phetmarks. This can be closed. |
We would like to enable multitouch fuzzing on CT testing. It would be good to cover multitouch testing on CT in general, but this will also cover magnification testing in CT. First step is to fuzz everything with
?fuzzPointers=3
.First step is to test all sims with multitouch fuzzing and get a sense of how many problems there are. If there is a manageable amount of issues, they will be resolved, the number of pointers will be increased. If too many issues are present we should reassess.
We also need to make sure that multitouch testing doesn't bias toward
always
testing with multitouch. Some of the fuzzing needs to remain as single presses. We need to inspect the implementation of fuzzing to understand this.The text was updated successfully, but these errors were encountered: