Closed zepumph closed 8 months ago
initMouseEvent() is deprecated. Use the MouseEvent() constructor instead.
https://github.com/phetsims/tasks/issues/1131After a discussion with @jonathanolson, we found some potential/for-sure bugs in how snapshots were being calculated created failure false positives. Commits coming soon, but here are the items:
Patch for dealing with single pixel differences in handling (this needs to still be propagated up to calculated IF the row even has a difference, since the hashing doesn't account for these new tolerances.
Alright. Lots of good work here today, I am going to kick off a test of two copies of main with this patch to see what the scope of tiny differences are across the project. Otherwise, I believe we are almost done with this issue.
Testing this URL: http://localhost:8080/aqua/html/multi-snapshot-comparison.html?ea&urls=http://localhost,http://localhost&simQueryParameters=ea&numFrames=100&testPhetio=false
Today I was able to test out what sims have a very small pixel issue. Here are my notes:
To continue testing: balancing-act,beers-law-lab,center-and-variability,charges-and-fields,circuit-construction-kit-ac,circuit-construction-kit-dc,diffusion,energy-skate-park,equality-explorer,equality-explorer-basics,forces-and-motion-basics,gas-properties,interaction-dashboard,natural-selection,neuron,quadrilateral,wave-interference,waves-intro
Here is the quantity of problem for these sims. Most only have a couple of pixels off (very very small differences)
Patch:
Alright. I went over comparison thresholds and extra changes with @jonathanolson this morning, and things are looking very good. All of the above linked sims are now passing when comparing to the same checkout. Closing
Reopening because there is a TODO marked for this issue.
I have been using this a bunch over in https://github.com/phetsims/axon/issues/447, and I've made many changes to the tool as I went. I think it is time to capture them in a spot that is specific to multi snapshot, and not my testing needs for the tool