Skip to content

Commit

Permalink
Update ui-test
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Oct 8, 2024
1 parent 9ce0233 commit aa46575
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui-tests/tests/voila.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ test.describe('Voila performance Tests', () => {
`/voila/render/${notebookName}.ipynb?voila-template=classic`
);
// wait for the widgets to load
await page.waitForSelector('span[role="presentation"] >> text=x');
await page.waitForSelector('.noUi-touch-area');
};
await addBenchmarkToTest(notebookName, testFunction, testInfo, browserName);

Expand All @@ -105,7 +105,7 @@ test.describe('Voila performance Tests', () => {
const testFunction = async () => {
await page.goto(`/voila/render/${notebookName}.ipynb`);
// wait for the widgets to load
await page.waitForSelector('span.mjx-char >> text=x');
await page.waitForSelector('.noUi-touch-area');
};
await addBenchmarkToTest(notebookName, testFunction, testInfo, browserName);
// change the value of the slider
Expand All @@ -130,7 +130,7 @@ test.describe('Voila performance Tests', () => {
const testFunction = async () => {
await page.goto(`/voila/render/${notebookName}.ipynb?voila-theme=dark`);
// wait for the widgets to load
await page.waitForSelector('span[role="presentation"] >> text=x');
await page.waitForSelector('.noUi-touch-area');
};
await addBenchmarkToTest(notebookName, testFunction, testInfo, browserName);

Expand Down

0 comments on commit aa46575

Please sign in to comment.