Skip to content

Commit 9774053

Browse files
test: cleanup
1 parent a7606e1 commit 9774053

2 files changed

Lines changed: 10 additions & 13 deletions

File tree

tests/performance/fixtures/test.spec.ts

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ import { remoteFeatureFlagHomepageSectionsV1Enabled } from '../../api-mocking/mo
1212
import { RampsRegions, RampsRegionsEnum } from '../../framework/Constants';
1313
import { LocalNodeType } from '../../framework';
1414
import { Hardfork } from '../../seeder/anvil-manager';
15-
import PerpsE2EModifiers from '../../helpers/perps/perps-modifiers';
1615

17-
/* Scenario: Test Fixtures */
18-
test('Test Fixtures', async ({ currentDeviceDetails, driver }, testInfo) => {
16+
/* Dummy test to test fixtures */
17+
test.skip('Test Fixtures', async ({
18+
currentDeviceDetails,
19+
driver,
20+
}, testInfo) => {
1921
await withFixtures(
2022
{
2123
fixture: new FixtureBuilder()
@@ -61,13 +63,8 @@ test('Test Fixtures', async ({ currentDeviceDetails, driver }, testInfo) => {
6163
async () => {
6264
console.log('currentDeviceDetails', currentDeviceDetails);
6365
await loginToAppPlaywright({ scenarioType: 'e2e' });
64-
console.log('\n\n LOGIN COMPLETED - Go add funds \n\n');
65-
await new Promise((resolve) => setTimeout(resolve, 10000));
66-
await new Promise((resolve) => setTimeout(resolve, 10000));
67-
await new Promise((resolve) => setTimeout(resolve, 10000));
68-
await new Promise((resolve) => setTimeout(resolve, 10000));
69-
await new Promise((resolve) => setTimeout(resolve, 10000));
70-
await new Promise((resolve) => setTimeout(resolve, 10000));
66+
67+
// Add any actions you may want to test.
7168
},
7269
);
7370
});

tests/playwright.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default defineConfig({
5656
},
5757
{
5858
name: 'ios',
59-
testMatch: 'tests/performance/fixtures/test.spec.ts',
59+
testMatch: 'tests/performance/fixtures/test.spec.ts', // DEMO TEST USING WITHFIXTURES
6060
use: {
6161
platform: Platform.IOS,
6262
device: {
@@ -66,7 +66,7 @@ export default defineConfig({
6666
},
6767
app: {
6868
appId: 'io.metamask.MetaMask',
69-
buildPath: '/Users/cferreira/Downloads/test.app', // Path to your .app file
69+
// buildPath: 'PATH-TO-BUILD', // Path to your .app file
7070
},
7171
},
7272
},
@@ -178,7 +178,7 @@ export default defineConfig({
178178
app: {
179179
packageName: 'io.metamask',
180180
launchableActivity: 'io.metamask.MainActivity',
181-
buildPath: 'bs://d655741da74410b087d1fc0f13a66f0c4d0ad68a', // Path to Browserstack url
181+
buildPath: process.env.BROWSERSTACK_ANDROID_APP_URL, // Path to Browserstack url
182182
},
183183
},
184184
},

0 commit comments

Comments
 (0)