Skip to content

Commit

Permalink
fix: undo temporary changes due to react-wallet regression
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaisailovic committed Feb 13, 2024
1 parent b4e0387 commit 00c5699
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/laboratory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"playwright:start": "npm run dev:laboratory",
"playwright:install": "npx playwright install --with-deps",
"playwright:test": "npx playwright test --grep-invert canary.spec.ts",
"playwright:test": "npx playwright test --grep 'connect.spec.ts|basic-tests.spec.ts|siwe.spec.ts'",
"playwright:test:wallet": "npx playwright test --grep connect.spec.ts",
"playwright:test:canary": "npx playwright test --grep canary.spec.ts",
"playwright:debug": "npx playwright test --debug --grep-invert canary.spec.ts",
Expand Down
6 changes: 3 additions & 3 deletions apps/laboratory/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const PERMUTATIONS = DEVICES.flatMap(device => LIBRARIES.map(library => ({ devic
export default defineConfig<ModalFixture>({
testDir: './tests',

fullyParallel: false,
retries: 3,
workers: 1,
fullyParallel: true,
retries: 2,
workers: 6,
reporter: process.env['CI']
? [['list'], ['html', { open: 'never' }]]
: [['list'], ['html', { host: '0.0.0.0' }]],
Expand Down
4 changes: 1 addition & 3 deletions apps/laboratory/tests/connect.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ testMW(

return
}
// Until all namespaces are allowed
testMW.skip()
let targetChain = 'Polygon'
await modalPage.switchNetwork(targetChain)
await modalPage.sign()
Expand All @@ -76,7 +74,7 @@ testMW(
await modalValidator.expectAcceptedSign()

// Switch to Ethereum
targetChain = 'Sepolia'
targetChain = 'Ethereum'
await modalPage.switchNetwork(targetChain)
await modalPage.sign()
await walletValidator.expectReceivedSign({ chainName: targetChain })
Expand Down
2 changes: 1 addition & 1 deletion apps/laboratory/tests/shared/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export const DEFAULT_SESSION_PARAMS: SessionParams = {
optAccounts: ['1', '2'],
accept: true
}
export const DEFAULT_CHAIN_NAME = process.env['DEFAULT_CHAIN_NAME'] || 'Sepolia'
export const DEFAULT_CHAIN_NAME = process.env['DEFAULT_CHAIN_NAME'] || 'Ethereum'

0 comments on commit 00c5699

Please sign in to comment.