Skip to content

Commit d45df6e

Browse files
committed
fix deeplink and stake test flakiness
1 parent c99e886 commit d45df6e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

tests/api-mocking/mock-e2e-allowlist.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const ALLOWLISTED_HOSTS = [
77
'localhost',
88
'10.0.2.2', // Android emulator host
99
'metamask.github.io', // Test-snaps and test-dapp pages loaded in browser
10+
'bs-local.com', // BrowserStack Local tunnel — always maps to the test host machine, never an external server
1011
];
1112

1213
export const ALLOWLISTED_URLS: string[] = [];

tests/smoke/stake/stake-action-smoke.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ describe(SmokeStake('Stake from Actions'), (): void => {
138138
await device.disableSynchronization();
139139
try {
140140
await Assertions.expectElementToBeVisible(WalletView.earnButton, {
141-
timeout: 45000,
141+
timeout: 60000,
142142
description:
143143
'Earn button should be visible after balance loads from mocked API',
144144
});

0 commit comments

Comments
 (0)