question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

spike - improvement on visual regression

See original GitHub issue

the current percy visual regression has several issues in terms of execution time and false alert(noise):

  1. the snapshot is mostly taken at the top level of each chapter route, which produces a super long snapshot image. it’s not obvious to catch the minor diff
  2. there are some hardcoded time.sleep(5) which should be replaced by implicit_wait
  3. there is no easy way to ignore certain flakey area by either css selector or fixed region coordinates, need to investigate more on percy docs, or trial on applitools
  4. lack of IE testings, @cldougl mentioned ideally we should test at least the last two edge versions

@plotly/dash-core comments are welcome

  • change the datetime.now() case in demo #423 #425
  • reduce the execution time with `driver.implicitly_wait(2) #427

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
wbrgsscommented, Mar 18, 2020

In another project (plotly/dash-design-kit#680, private repo) @markzporter used Percy-specific CSS to add visibility: hidden to the problematic elements, with a visibility: visible pseudo-element that indicated the hidden element should be ignored in manual review of Percy snapshots.

1reaction
alexcjohnsoncommented, Feb 28, 2019

Oh interesting indeed - I was about to suggest converting to an image actually, we’ve done similar stuff in plotly.js to push webgl output to a static image. Some of the other repos have a percy_snapshot method in their IntegrationTests inherited class, if this works we should just build it in there; convert every <canvas> to an <img>, take the snapshot, then remove the <img> tags and put <canvas> back where it was.

Enabling JS is unlikely to be useful, that’ll only be able to run things that happen on page load.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Analysis of spiking synchrony in visual cortex reveals distinct ...
Analysis of spiking synchrony in visual cortex reveals distinct types of top-down modulation signals for spatial and object-based attention.
Read more >
Predicting Every Spike: A Model for the Responses of Visual ...
It appears that the model could be improved by implementing some partial refractoriness after a firing event. Predicting All Spikes in an Event....
Read more >
Benchmarking Spike-Based Visual Recognition: A Dataset ...
A new set of vision benchmarks for spike-based neural processing are now needed to measure progress quantitatively within this rapidly advancing field. We ......
Read more >
Let's Explore how Agile Architecture Spikes are used in Shift ...
Spiking usually is done by ignoring architecture styles (which might seem odd at first as it can help in discovering the righ archictectural ......
Read more >
Spike-triggered neural characterization | JOV - Journal of Vision
Spike -triggered average and covariance analyses can be used to estimate the ... of new methodologies, improvements in stimulus generation technology, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found