Skip to content

Commit

Permalink
fix only e2e related errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cortisiko committed Jan 17, 2025
1 parent 4b10c68 commit eb8382d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions e2e/specs/accounts/error-boundary-srp-backup.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { SmokeAccounts } from '../../tags';
import Assertions from '../../utils/Assertions';
import RevealSecretRecoveryPhrase from '../../pages/Settings/SecurityAndPrivacy/RevealSecretRecoveryPhrase';
import ErrorBoundaryView from '../../pages/ErrorBoundaryView/ErrorBoundaryView';
import Utilities from '../../utils/Utilities';
const PASSWORD = '123123123';

describe(SmokeAccounts('Error Boundary Screen'), () => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/specs/networks/add-popular-networks.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { withFixtures } from '../../fixtures/fixture-helper';
import WalletView from '../../pages/wallet/WalletView';
import NetworkListModal from '../../pages/Network/NetworkListModal';
import Assertions from '../../utils/Assertions';

import Utilities from '../../utils/Utilities';
describe(Regression('Add all popular networks'), () => {
beforeAll(async () => {
jest.setTimeout(170000);
Expand Down
5 changes: 2 additions & 3 deletions e2e/utils/Utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import {
getGanachePort,
getLocalTestDappPort,
getMockServerPort,
} from './fixtures/utils';
import Utilities from './utils/Utilities';
} from '../fixtures/utils';
import { resolveConfig } from 'detox/internals';
export default class Utilities {
static async openDeepLink(inputURL) {
Expand All @@ -16,7 +15,7 @@ export default class Utilities {
sourceApp: 'io.metamask',
launchArgs: {
fixtureServerPort: `${getFixturesServerPort()}`,
detoxURLBlacklistRegex: Utilities.BlacklistURLs,
detoxURLBlacklistRegex: this.BlacklistURLs,
},
});
}
Expand Down

0 comments on commit eb8382d

Please sign in to comment.