Skip to content

Commit 6217e25

Browse files
committed
Update playwright tests
1 parent 64ea130 commit 6217e25

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

playwright/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from '@playwright/test'
22

33
export default defineConfig({
44
webServer: {
5-
url: 'http://localhost:1234',
5+
url: 'http://localhost:5173',
66
command: 'yarn --cwd ../ run start',
77
timeout: 120 * 1000,
88
reuseExistingServer: !process.env.CI,

playwright/tests/accounts.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async function setup(page: Page) {
113113
)
114114

115115
await page.goto(
116-
'http://localhost:1234/mainnet/sapphire/address/0x0000000000000000000000000000000000000000/events',
116+
'http://localhost:5173/mainnet/sapphire/address/0x0000000000000000000000000000000000000000/events',
117117
)
118118
}
119119

playwright/tests/allowance.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ async function setup(page: Page) {
7878
test('Allowance transaction should display relative amount', async ({ page }) => {
7979
await setup(page)
8080
await page.goto(
81-
'http://localhost:1234/testnet/consensus/tx/10dc8edd24ae89b264a295a046d9ac9b99a59d81acf3b0394bac309c09bdd7c7',
81+
'http://localhost:5173/testnet/consensus/tx/10dc8edd24ae89b264a295a046d9ac9b99a59d81acf3b0394bac309c09bdd7c7',
8282
)
8383
await expect(page.getByText('+1 TEST')).toBeVisible()
8484
})
8585

8686
test('Allowance transaction should display negative amount', async ({ page }) => {
8787
await setup(page)
8888
await page.goto(
89-
'http://localhost:1234/mainnet/consensus/tx/4d4903206ee68d5c60ea9b26f4a7b218b263e66e032772f2faa61a2bf7d27b2b',
89+
'http://localhost:5173/mainnet/consensus/tx/4d4903206ee68d5c60ea9b26f4a7b218b263e66e032772f2faa61a2bf7d27b2b',
9090
)
9191
await expect(page.getByText('-5,000,000 ROSE')).toBeVisible()
9292
})

playwright/tests/getPreciseNumberFormat.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function setup(page: Page, balance: string, decimals: number) {
4646
})
4747

4848
await page.goto(
49-
'http://localhost:1234/mainnet/sapphire/address/0x0000000000000000000000000000000000000000/tokens/erc-20#tokens',
49+
'http://localhost:5173/mainnet/sapphire/address/0x0000000000000000000000000000000000000000/tokens/erc-20#tokens',
5050
)
5151
await expect(page.getByText('TokenForTests')).toBeVisible()
5252

0 commit comments

Comments
 (0)