Skip to content

Commit 97745c2

Browse files
authored
Merge branch 'main' into post-connect-error-messages-overhaul
2 parents 8969dee + 9b51940 commit 97745c2

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

tests/e2e/helpers/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { TOTP, type TOTPAlgorithm, type TOTPEncoding } from 'totp-generator';
99
import { spy, type SpyFn } from 'tinyspy';
1010
import { getWalletInformation } from '@/shared/helpers';
1111

12-
const PLAYGROUND_URL = 'https://webmonetization.org/play';
12+
const PLAYGROUND_URL = 'https://webmonetization.org/play/';
1313

1414
export async function waitForWelcomePage(page: Page) {
1515
await page.waitForURL(

tests/e2e/special.spec.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import { spy } from 'tinyspy';
22
import { test, expect } from './fixtures/connected';
3-
import { getLastCallArg, setupPlayground } from './helpers/common';
3+
import {
4+
getLastCallArg,
5+
playgroundUrl,
6+
setupPlayground,
7+
} from './helpers/common';
48
import { goToHome, setContinuousPayments } from './pages/popup';
59

610
test('iframe add/remove does not de-monetize main page', async ({
@@ -119,7 +123,7 @@ test('keep site monetized on back-forward buttons', async ({ page, popup }) => {
119123
const notMonetizedMsg = popup.getByTestId('not-monetized-message');
120124

121125
// TODO: use URLs from a local server with more-controlled fixtures
122-
const URL_A = 'https://sidvishnoi.com/test/wm/';
126+
const URL_A = playgroundUrl(process.env.TEST_WALLET_ADDRESS_URL);
123127
const URL_B = 'https://example.com/';
124128

125129
await page.goto(URL_A);

0 commit comments

Comments
 (0)