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:
1 parent
f0519920fa
commit
70532a6cc6
6 files changed
+81
-31
No files matched your search
@@ -21,7 +21,6 @@ describe('OHIF Microscopy Extension', () => {
|
||||
.should('be.eq', 1);
|
||||
|
||||
cy.wait(3000); //Waiting for image to render before taking the snapshot
|
||||
cy.screenshot();
|
||||
cy.percyCanvasSnapshot('Microscopy Extension');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user