Skip to content

Commit

Permalink
fix: flaky sentry tests
Browse files Browse the repository at this point in the history
  • Loading branch information
micaelae committed Jul 30, 2024
1 parent 3764345 commit 5b15722
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/e2e/fixture-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,23 @@ class FixtureBuilder {
extensionSupport: false,
srcNetworkAllowlist: [],
},
srcTokens: {},
srcTopAssets: [],
},
};
// merge(this.fixture.data.BridgeController, {
// bridgeState: {
// bridgeFeatureFlags: {
// destNetworkAllowlist: [],
// extensionSupport: false,
// srcNetworkAllowlist: [],
// },
// destTokens: {},
// destTopAssets: [],
// srcTokens: {},
// srcTopAssets: [],
// },
// });
return this;
}

Expand Down
1 change: 1 addition & 0 deletions test/e2e/tests/bridge/bridge-test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export class BridgePage {
};
}

// TODO assert that default FF fixtures are overwritten with mockServer response
const mockServer =
(featureFlagOverrides: Partial<FeatureFlagResponse>) =>
async (mockServer_: Mockttp) => {
Expand Down

0 comments on commit 5b15722

Please sign in to comment.