diff --git a/integration-test/tests/stations.spec.ts b/integration-test/tests/stations.spec.ts index 4f06bb4f..781caadb 100644 --- a/integration-test/tests/stations.spec.ts +++ b/integration-test/tests/stations.spec.ts @@ -5,7 +5,7 @@ test.setTimeout(100000); test.describe('Station flow', () => { // eslint-disable-next-line functional/no-let let page: Page; - const stationId: string = "99999000013_20"; + const stationId: string = "99999000013_17"; test.beforeAll(async ({ browser }) => { page = await browser.newPage({ storageState: undefined }); diff --git a/integration-test/tests/utils/bundleUtils.ts b/integration-test/tests/utils/bundleUtils.ts index 5213880e..a2770066 100644 --- a/integration-test/tests/utils/bundleUtils.ts +++ b/integration-test/tests/utils/bundleUtils.ts @@ -72,7 +72,8 @@ export async function validateBundle(bundleName: string, bundleType: string) { } ); try { - console.log('Validate bundle update error', await responseUpdate.text()); + const responseText = await responseUpdate.text(); + console.log('Validate bundle update error: ', responseText); } finally { expect(responseUpdate.ok).toBeTruthy(); } @@ -109,7 +110,8 @@ export async function invalidateAllBundles(bundleName: string, bundleType: Bundl } ); if (!responseDelete.ok) { - console.log('Invalidate bundle delete error', await responseDelete.text()); + const responseText = await responseDelete.text(); + console.log('Invalidate bundle delete error: ', responseText); } expect(responseDelete.status === 200 || responseDelete.status === 400).toBeTruthy(); @@ -130,7 +132,8 @@ export async function invalidateAllBundles(bundleName: string, bundleType: Bundl } ); if (!responseUpdate.ok) { - console.log('Invalidate bundle update error', await responseUpdate.text()); + const responseText = await responseUpdate.text(); + console.log('Invalidate bundle update error: ', responseText); } expect(responseUpdate.ok).toBeTruthy(); } @@ -146,7 +149,8 @@ export async function deleteAllExpiredBundles(bundleName: string, bundleType: Bu }, }); try { - console.log('Delete all expired bundles response', await response.text()); + const responseText = await response.text(); + console.log('Delete all expired bundles response: ', responseText); } finally { expect(response.ok).toBeTruthy(); }