Skip to content

Commit 4caa85f

Browse files
authored
test: Reorganize e2e tests repo part2 (#24238)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Following #23398, This PR is the second part to reorganize the test/e2e repository to create a structure that is both well-organized and easy to navigate. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/24238?quickstart=1) ## **Related issues** Fixes: #23296 ## **Manual testing steps** Check if the organization is logical. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
1 parent bbb372f commit 4caa85f

File tree

112 files changed

+61
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+61
-57
lines changed

app/scripts/metamask-controller.actions.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { PermissionsRequestNotFoundError } from '@metamask/permission-controller
1414
import nock from 'nock';
1515
import mockEncryptor from '../../test/lib/mock-encryptor';
1616

17-
const { Ganache } = require('../../test/e2e/ganache');
17+
const { Ganache } = require('../../test/e2e/seeder/ganache');
1818

1919
const ganacheServer = new Ganache();
2020

app/scripts/metamask-controller.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { flushPromises } from '../../test/lib/timer-helpers';
3131
import { deferredPromise } from './lib/util';
3232
import MetaMaskController from './metamask-controller';
3333

34-
const { Ganache } = require('../../test/e2e/ganache');
34+
const { Ganache } = require('../../test/e2e/seeder/ganache');
3535

3636
const ganacheServer = new Ganache();
3737

File renamed without changes.

test/e2e/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { difference } = require('lodash');
88
const createStaticServer = require('../../development/create-static-server');
99
const { tEn } = require('../lib/i18n-helpers');
1010
const { setupMocking } = require('./mock-e2e');
11-
const { Ganache } = require('./ganache');
11+
const { Ganache } = require('./seeder/ganache');
1212
const FixtureServer = require('./fixture-server');
1313
const PhishingWarningPageServer = require('./phishing-warning-page-server');
1414
const { buildWebDriver } = require('./webdriver');
File renamed without changes.

0 commit comments

Comments
 (0)