test: percy snapshot workaround (#1111)

* Try workaround for percy snapshot

* Return our modified document

* test: some dark magic to make it possible to take screenshots of WebGL canvases

* Apply transformation directly to test DOM

* investigate: window:before:load

* Register flag in correct place; add experimental-webgl check

* Remaining canvas fixes

* Remove comment
This commit is contained in:
Danny Brown authored and GitHub committed 2019-10-28 12:43:37 -04:00
1 parent f0519920fa
commit 70532a6cc6
6 files changed
+81 -31

No files matched your search

@@ -91,6 +91,7 @@ const ViewportGrid = function(props) {
return (
<div
data-cy="viewprt-grid"
style={{
display: 'grid',
gridTemplateRows: `repeat(${numRows}, ${rowSize}%)`,