Skip to content

Commit

Permalink
refactor: move to img
Browse files Browse the repository at this point in the history
  • Loading branch information
etowahadams committed Sep 25, 2023
1 parent a252f58 commit 8bc8db6
Show file tree
Hide file tree
Showing 76 changed files with 3 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
Binary file removed editor/example/visual-regression-imgs/CIRCOS.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed editor/example/visual-regression-imgs/GREMLIN.png
Binary file not shown.
Binary file removed editor/example/visual-regression-imgs/MATRIX.png
Binary file not shown.
Binary file removed editor/example/visual-regression-imgs/RULE.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed editor/example/visual-regression-imgs/doc_text.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import puppeteer, { Page, Browser } from 'puppeteer';
import { examples } from '.';
import { examples } from '../editor/example';
import * as fs from 'fs';

import { beforeAll } from 'vitest';
Expand Down Expand Up @@ -78,7 +78,7 @@ Object.entries(examples)
const component = await page.waitForSelector('.gosling-component');
await page.waitForNetworkIdle({ idleTime: 2000 });
await delay(2000); // wait 2 seconds for rendering to complete. TODO: see if we can implement javascript API subscription which fires when rendering is done
await component!.screenshot({ path: `editor/example/visual-regression-imgs/${name}.png` });
await component!.screenshot({ path: `img/visual-regression/${name}.png` });
},
20000
);
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added img/visual-regression/BASIC_SEMANTIC_ZOOM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/visual-regression/CANCER_VARIANT.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/visual-regression/CIRCOS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/visual-regression/CIRCULAR_BETWEEN_BANDS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added img/visual-regression/Circular Range.png
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added img/visual-regression/GREMLIN.png
File renamed without changes
Binary file added img/visual-regression/MATRIX.png
File renamed without changes
File renamed without changes
Binary file added img/visual-regression/RULE.png
Binary file added img/visual-regression/SARS_COV_2.png
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added img/visual-regression/doc_semantic_zoom_cyto.png
Binary file added img/visual-regression/doc_text.png
Binary file added img/visual-regression/doc_triangle.png
Binary file added img/visual-regression/doc_vcf_indels.png
Binary file added img/visual-regression/doc_vcf_point_mutations.png
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"editor/index.tsx",
"embed/index.ts"
],
"include": ["src", "src/**/*.d.ts", "editor"],
"include": ["src", "src/**/*.d.ts", "editor", "img/visual-regression.test.ts"],
"exclude": [
"node_modules",
"public",
Expand Down

0 comments on commit 8bc8db6

Please sign in to comment.