Skip to content

Commit

Permalink
Merge branch 'main' into QA-XXX-fixFlakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
javiergarciavera authored Feb 27, 2025
2 parents 6524443 + e1444c9 commit 8a3f1f9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ const environmentMappingForRemoteFeatureFlag = {
const buildTypeMappingForRemoteFeatureFlag = {
flask: DistributionType.Flask,
main: DistributionType.Main,
beta: 'beta',
};

export default class MetamaskController extends EventEmitter {
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/metamask-controller.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4204,7 +4204,7 @@ describe('MetaMaskController', () => {
});

it('returna config when not matching default mapping', async () => {
process.env.METAMASK_BUILD_TYPE = 'beta';
process.env.METAMASK_BUILD_TYPE = 'non-existent-distribution';
process.env.METAMASK_ENVIRONMENT = ENVIRONMENT.RELEASE_CANDIDATE;

const result =
Expand Down
3 changes: 3 additions & 0 deletions builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ buildTypes:
features:
- build-beta
- keyring-snaps
- multichain
- solana
- solana-swaps
env:
- INFURA_BETA_PROJECT_ID
- SEGMENT_BETA_WRITE_KEY
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/snaps/test-snap-uilinks.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ describe('Test Snap UI Links', function () {

// check that the correct page has been opened
await driver.waitForSelector({
text: 'Most Popular',
text: 'Most popular',
tag: 'h2',
});

Expand Down

0 comments on commit 8a3f1f9

Please sign in to comment.