Skip to content

Commit

Permalink
Update to last version that uses Chromium.
Browse files Browse the repository at this point in the history
  • Loading branch information
cahrens committed Sep 28, 2024
1 parent 29b46de commit 6aff1c8
Show file tree
Hide file tree
Showing 168 changed files with 2,782 additions and 1,251 deletions.
2,404 changes: 1,607 additions & 797 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/ws-npm-8.5.0-8e99728c84-76f2f90e40.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion integration-tests/jest-circus-environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const PuppeteerEnvironment = require('jest-environment-puppeteer');
const { parse } = require('path');
const { maybeSaveScreenshot, savePageContent } = require('./utils/integration-utils');

class JestCircusEnvironment extends PuppeteerEnvironment {
class JestCircusEnvironment extends PuppeteerEnvironment.default {
constructor(config, context) {
super(config, context);
this.testName = parse(context.testPath).name;
Expand Down
1 change: 1 addition & 0 deletions integration-tests/jest-puppeteer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
headless: process.env.HEADLESS !== 'false',
slowMo: process.env.SLOW === 'true' ? 250 : undefined,
defaultViewport: { width: 1200, height: 800 },
protocolTimeout: 720_000, // 12 minutes
// Workaround for issue when accessing cross domain iframes in puppeteer while not headless:
// https://github.com/GoogleChrome/puppeteer/issues/4960
args: (({ headfull, devtools }) => {
Expand Down
10 changes: 5 additions & 5 deletions integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
"test-flakes": "FLAKES=true yarn test-local --runInBand"
},
"devDependencies": {
"jest": "^27.4.3",
"jest-environment-puppeteer": "^6.0.3",
"jest": "^29.7.0",
"jest-environment-puppeteer": "^10.1.1",
"jest-junit": "^13.0.0",
"jest-puppeteer": "^6.0.2",
"jest-puppeteer": "^10.1.1",
"node-fetch": "^2.6.7",
"prompts": "^2.4.1",
"puppeteer-cluster": "^0.23.0"
"puppeteer-cluster": "^0.24.0"
},
"dependencies": {
"@axe-core/puppeteer": "^4.6.0",
"date-fns": "^2.24.0",
"google-auth-library": "^7.9.2",
"lodash": "^4.17.21",
"p-retry": "^4.6.1",
"puppeteer": "^13.1.3",
"puppeteer": "^19.11.1",
"qs": "^6.10.1",
"uuid": "^8.3.2"
}
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tests/run-analysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const testRunAnalysisFn = _.flowRight(
await delay(Millis.ofSeconds(3));
await fillIn(frame, '//textarea', 'print(123456789099876543210990+9876543219)');
await click(frame, clickable({ text: 'Run' }));
await findText(frame, '123456789099886419754209');
await frame.$x('//*[contains(normalize-space(.),"123456789099886419754209")]');

// Save notebook to avoid "unsaved changes" modal when test tear-down tries to close the window
await click(frame, clickable({ text: 'Save and Checkpoint' }));
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tests/run-rstudio.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const testRunRStudioFn = _.flowRight(
await delay(Millis.ofSeconds(3));
await fillIn(frame, '//textarea', 'x=1;x');
await page.keyboard.press('Enter');
await findText(frame, '[1] 1');
await frame.$x('//*[contains(normalize-space(.),"[1] 1")]');

await dismissInfoNotifications(page);

Expand Down
1,612 changes: 1,166 additions & 446 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 6aff1c8

Please sign in to comment.