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 Aug 12, 2024
1 parent 2ee4440 commit 2ee4299
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 @@ -377,8 +377,23 @@ class FixtureBuilder {
},
destTokens: {},
destTopAssets: [],
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 @@ -131,6 +131,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 2ee4299

Please sign in to comment.