Skip to content

Commit

Permalink
🔧 chore: Unified MetaMask Dapp ports (#1097)
Browse files Browse the repository at this point in the history
* 🔧 chore: Unified MetaMask Dapp ports

* fix: format

---------

Co-authored-by: drptbl <[email protected]>
  • Loading branch information
matstyler and drptbl authored Feb 5, 2024
1 parent 2990269 commit 1b21912
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/new-dawn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build:cache": "synpress",
"build:cache:force": "synpress --force",
"build:cache:headless": "synpress --headless",
"serve:test-dapp": "serve node_modules/@metamask/test-dapp/dist -p 12345",
"serve:test-dapp": "serve node_modules/@metamask/test-dapp/dist -p 9999",
"test:e2e:headful": "playwright test",
"test:e2e:headless": "HEADLESS=true playwright test",
"test:e2e:headless:ui": "HEADLESS=true playwright test --ui"
Expand Down
4 changes: 2 additions & 2 deletions examples/new-dawn/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default defineConfig({

use: {
// We are using locally deployed MetaMask Test Dapp.
baseURL: 'http://localhost:12345'
baseURL: 'http://localhost:9999'
},

// Synpress currently only supports Chromium, however, this will change in the future.
Expand All @@ -29,7 +29,7 @@ export default defineConfig({
// Serve MetaMask Test Dapp locally before starting the tests.
webServer: {
command: 'pnpm run serve:test-dapp',
url: 'http://localhost:12345',
url: 'http://localhost:9999',
reuseExistingServer: true
}
})
2 changes: 1 addition & 1 deletion examples/new-dawn/test/wallet-setup/connected.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineWalletSetup(PASSWORD, async (context, walletPage) => {
const page = await context.newPage()

// Go to a locally hosted MetaMask Test Dapp.
await page.goto('http://localhost:12345')
await page.goto('http://localhost:9999')

await page.locator('#connectButton').click()

Expand Down

0 comments on commit 1b21912

Please sign in to comment.