Skip to content

Commit

Permalink
CU-86a0vq1ak - Fully implement WcSdk e2e tests (finish the connection…
Browse files Browse the repository at this point in the history
… and use every command expecing the responses)
  • Loading branch information
Leonardo de Jesus Diz Conde committed Oct 6, 2023
1 parent 76acaca commit 853e0d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/check-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ jobs:
- name: Build Examples
working-directory: ./e2e
run: pnpm ex:build:unix
- name: Prepare to Run Test E2E
working-directory: ./e2e
run: pnpm install -g serve && pnpm playwright install
- name: Test E2E
working-directory: ./e2e
run: pnpm test:headless
1 change: 1 addition & 0 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"ex:install:unix": "cd ../examples && for d in */; do (cd \"$d\" && pnpm i && cd ..); done",
"format": "prettier . --write && eslint --fix",
"lint": "prettier . --check && eslint",
"prepare": "pnpm setup && pnpm install -g serve && pnpm playwright install",
"report:clean": "rm -rf playwright-report test-results tests-results",
"report:open": "npx pnpm exec playwright show-report",
"test": "playwright test --headed",
Expand Down
3 changes: 2 additions & 1 deletion examples/wc-wallet-react/config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ module.exports = function override(config) {
fallback: {
"crypto": require.resolve("crypto-browserify"),
"querystring": require.resolve("querystring-es3"),
"stream": require.resolve("stream-browserify")
"stream": require.resolve("stream-browserify"),
"events": require.resolve("events")
}
}
})
Expand Down

0 comments on commit 853e0d1

Please sign in to comment.