Skip to content

Commit

Permalink
Update snapshots p2
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Oct 3, 2024
1 parent 627fe7a commit 5d0455f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions ui-tests/tests/voila.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import { expect, test } from '@playwright/test';
import { addBenchmarkToTest } from './utils';

const PREFIX =
process.env.PROGRESSIVE_RENDERING === 'true' ? 'progressive_rendering_' : '';
const PROGRESSIVE_RENDERING = process.env.PROGRESSIVE_RENDERING === 'true';
const PREFIX = PROGRESSIVE_RENDERING ? 'progressive_rendering_' : '';
test.describe('Voila performance Tests', () => {
test.beforeEach(({ page }) => {
page.setDefaultTimeout(120000);
Expand Down Expand Up @@ -310,9 +310,15 @@ test.describe('Voila performance Tests', () => {
const notebookName = 'query-strings';
const testFunction = async () => {
await page.goto(`/voila/render/${notebookName}.ipynb`);
await page.waitForSelector(
'div.lm-Widget[data-mime-type="application/vnd.jupyter.stdout"]'
);
if (PROGRESSIVE_RENDERING) {
await page.waitForSelector(
'div.lm-Widget[data-mime-type="application/vnd.jupyter.stdout"]'
);
} else {
await page.waitForSelector(
'div.jp-OutputArea-output[data-mime-type="text/plain"]'
);
}
const userName = await page.$$(
'div.jp-RenderedText.jp-OutputArea-output > pre'
);
Expand Down
Binary file modified ui-tests/tests/voila.test.ts-snapshots/bokeh-linux.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 modified ui-tests/tests/voila.test.ts-snapshots/gridspecLayout-linux.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 modified ui-tests/tests/voila.test.ts-snapshots/ipympl-linux.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.
Binary file modified ui-tests/tests/voila.test.ts-snapshots/voila-tree-dark-linux.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.

0 comments on commit 5d0455f

Please sign in to comment.