Skip to content

Commit

Permalink
e2e debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchengzhu committed Dec 21, 2023
1 parent 86738ce commit bd29db8
Show file tree
Hide file tree
Showing 3 changed files with 2,012 additions and 2,355 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/jest/setup.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { bootstrap } from "@chainsafe/dappeteer";
// import { RECOMMENDED_METAMASK_VERSION } from "@chainsafe/dappeteer/dist/index";
import { bootstrap } from "dappeteer-new";
import { RECOMMENDED_METAMASK_VERSION } from "dappeteer-new/dist/index";

import Config from "../config";
import createTransactionData from "../src/create_test_data/createTestDataManage";

export const MetaMaskOptions = {
metaMaskVersion: "v11.0.0",
metaMaskVersion: RECOMMENDED_METAMASK_VERSION,
automation: "puppeteer",
// https://developer.chrome.com/articles/new-headless/
headless: process.env.HEADLESS ? 'new' : false,
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"license": "MIT",
"dependencies": {
"dappeteer-new": "^5.2.1",
"@chainsafe/dappeteer": "^5.2.0",
"@ethereumjs/common": "^3.1.1",
"@ethereumjs/tx": "^4.2.0",
Expand Down
Loading

0 comments on commit bd29db8

Please sign in to comment.