diff --git a/e2e/api-mocking/mock-server.js b/e2e/api-mocking/mock-server.js index 316e9a7f38b..a157f1c0bf7 100644 --- a/e2e/api-mocking/mock-server.js +++ b/e2e/api-mocking/mock-server.js @@ -36,7 +36,7 @@ export const startMockServer = async (events, port) => { console.log(`Response status: ${responseCode}`); console.log('Response:', response); if (requestBody) { - console.log(`POST request body ${requestBody}`); + console.log(`POST request body:`, requestBody); } if (method === 'GET') { diff --git a/e2e/fixtures/fixture-helper.js b/e2e/fixtures/fixture-helper.js index 093ae108b41..0990f25338f 100644 --- a/e2e/fixtures/fixture-helper.js +++ b/e2e/fixtures/fixture-helper.js @@ -103,12 +103,12 @@ export async function withFixtures(options, testSuite) { testSpecificMock, } = options; - const fixtureServer = new FixtureServer(); - if (testSpecificMock) { await startMockServer(testSpecificMock); } + const fixtureServer = new FixtureServer(); + let ganacheServer; if (!disableGanache) { ganacheServer = new Ganache();