Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky committed Jul 11, 2024
1 parent e029d9f commit 748fd9b
Show file tree
Hide file tree
Showing 124 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions test/e2e/context-restore.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ const PROJECT_PATH = path.resolve(__dirname, '../..');
const SIMPLE_VIDEO_CANVAS_DIMS = {width: 854, height: 480};
const SIMPLE_VIDEO_DIMS = {width: 854, height: 480};
const VIDEO_URL_PREFIX = '/test/e2e/';
const SIMPLE_VIDEO_URL = `${VIDEO_URL_PREFIX}e2e-video.ogg`;
const SIMPLE_VIDEO_URL = `${VIDEO_URL_PREFIX}e2e-video.webm`;

let server;
let browser;
let pageUrl;

async function createBrowser () {
browser = await puppeteer.launch({
headless: false
});
browser = await puppeteer.launch();
}

async function setPage (t) {
Expand Down
Binary file removed test/e2e/e2e-video.ogg
Binary file not shown.
Binary file added test/e2e/e2e-video.webm
Binary file not shown.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 test/e2e/screenshots/brightness-0.5_actual.png
Binary file added test/e2e/screenshots/brightness-0.5_diff.png
Binary file added test/e2e/screenshots/brightness-1.0_actual.png
Binary file added test/e2e/screenshots/brightness-1.0_diff.png
Binary file added test/e2e/screenshots/brightness-1.0_expected.png
Binary file added test/e2e/screenshots/brightness-1.5_actual.png
Binary file added test/e2e/screenshots/brightness-1.5_diff.png
Binary file added test/e2e/screenshots/brightness-1.5_expected.png
Binary file added test/e2e/screenshots/contrast-0.2_actual.png
Binary file added test/e2e/screenshots/contrast-0.2_diff.png
Binary file added test/e2e/screenshots/contrast-0.2_expected.png
Binary file added test/e2e/screenshots/contrast-1.0_actual.png
Binary file added test/e2e/screenshots/contrast-1.0_diff.png
Binary file added test/e2e/screenshots/contrast-1.0_expected.png
Binary file added test/e2e/screenshots/contrast-1.5_actual.png
Binary file added test/e2e/screenshots/contrast-1.5_diff.png
Binary file added test/e2e/screenshots/contrast-1.5_expected.png
Binary file added test/e2e/screenshots/hue--135_actual.png
Binary file added test/e2e/screenshots/hue--135_diff.png
Binary file added test/e2e/screenshots/hue--135_expected.png
Binary file added test/e2e/screenshots/hue--90_actual.png
Binary file added test/e2e/screenshots/hue--90_diff.png
Binary file added test/e2e/screenshots/hue--90_expected.png
Binary file added test/e2e/screenshots/hue-0.0_actual.png
Binary file added test/e2e/screenshots/hue-0.0_diff.png
Binary file added test/e2e/screenshots/hue-0.0_expected.png
Binary file added test/e2e/screenshots/hue-45_actual.png
Binary file added test/e2e/screenshots/hue-45_diff.png
Binary file added test/e2e/screenshots/hue-45_expected.png
Binary file added test/e2e/screenshots/hue-90_actual.png
Binary file added test/e2e/screenshots/hue-90_diff.png
Binary file added test/e2e/screenshots/hue-90_expected.png
Binary file added test/e2e/screenshots/saturate-0.0_actual.png
Binary file added test/e2e/screenshots/saturate-0.0_diff.png
Binary file added test/e2e/screenshots/saturate-0.0_expected.png
Binary file added test/e2e/screenshots/saturate-1.0_actual.png
Binary file added test/e2e/screenshots/saturate-1.0_diff.png
Binary file added test/e2e/screenshots/saturate-1.0_expected.png
Binary file added test/e2e/screenshots/saturate-1.5_actual.png
Binary file added test/e2e/screenshots/saturate-1.5_diff.png
Binary file added test/e2e/screenshots/saturate-1.5_expected.png
2 changes: 1 addition & 1 deletion test/e2e/video-effects.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const SIMPLE_VIDEO_DIMS = {width: 854, height: 480};
const SIMPLE_VIDEO_CANVAS_POS = {x: 0, y: 484};
const IMAGE_CANVAS_POS = {x: 0, y: 480};
const VIDEO_URL_PREFIX = '/test/e2e/';
const SIMPLE_VIDEO_URL = `${VIDEO_URL_PREFIX}e2e-video.ogg`;
const SIMPLE_VIDEO_URL = `${VIDEO_URL_PREFIX}e2e-video.webm`;
const IMAGE_URL = `${VIDEO_URL_PREFIX}e2e-image.png`;

let server;
Expand Down

0 comments on commit 748fd9b

Please sign in to comment.