Skip to content

Commit 1d7fc5f

Browse files
committed
Extend timeout
1 parent 6cd3641 commit 1d7fc5f

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

pnpm-lock.yaml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wallets/phantom/src/playwright/fixtures/phantomFixtures.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { persistLocalStorage } from '../fixture-actions/persistLocalStorage'
1515
import { closeSuiAndMonadIfPresent } from '../pages/HomePage/actions'
1616
import { unlock } from '../pages/UnlockPage/actions'
1717
import { loadAndWaitForPopupPage } from '../utils/waitForPopupPageLoad'
18-
// import { waitForTestPageLoad } from "../utils/waitForTestPageLoad";
1918

2019
type PhantomFixtures = {
2120
_contextPath: string

wallets/phantom/test/playwright/e2e/confirmTransaction.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const test = synpress
66

77
const { expect } = test
88

9-
test('should Sign Transaction', async ({ page, phantom }) => {
9+
test('should Sign Transaction - ', async ({ page, phantom }) => {
1010
await solanaSandboxSetup(page, phantom)
1111

1212
await page.getByRole('button', { name: 'Sign Transaction' }).click()

wallets/phantom/test/playwright/e2e/connectToDapp.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ test('should connect wallet to dapp', async ({ context, page, extensionId }) =>
2323
})
2424

2525
test('should connect multiple wallets to dapp', async ({ context, page, phantomPage, extensionId }) => {
26+
test.setTimeout(90_000)
27+
2628
const phantom = new Phantom(context, phantomPage, basicSetup.walletPassword, extensionId)
2729

2830
await phantom.addNewAccount('NewAccount1')

wallets/phantom/test/playwright/e2e/rejectTransaction.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ const test = synpress
77
const { expect } = test
88

99
test('should Reject Transaction ', async ({ page, phantom }) => {
10+
test.setTimeout(90_000)
11+
1012
await solanaSandboxSetup(page, phantom)
1113

1214
await page.getByRole('button', { name: 'Sign Transaction' }).click()
@@ -20,6 +22,8 @@ test('should Reject Transaction ', async ({ page, phantom }) => {
2022
})
2123

2224
test('should Reject All Transactions ', async ({ page, phantom }) => {
25+
test.setTimeout(90_000)
26+
2327
await solanaSandboxSetup(page, phantom)
2428

2529
await page.getByRole('button', { name: 'Sign All Transaction' }).click()
@@ -33,6 +37,8 @@ test('should Reject All Transactions ', async ({ page, phantom }) => {
3337
})
3438

3539
test('should reject contract deployment', async ({ page, phantom }) => {
40+
test.setTimeout(90_000)
41+
3642
await connectPhantomToTestDapp(page, phantom)
3743

3844
await expect(page.locator('#tokenAddresses')).toBeEmpty()

0 commit comments

Comments
 (0)