Browse Source

test: logs

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/6546/head
Raju Udava 1 year ago
parent
commit
aa58544fcd
  1. 6
      tests/playwright/setup/index.ts

6
tests/playwright/setup/index.ts

@ -288,7 +288,7 @@ async function localInit({
}
}
console.log('Setup', '4');
console.timeLog('Setup', '4');
let workspace;
if (isEE() && api['workspace']) {
@ -334,7 +334,7 @@ async function localInit({
}
}
console.log('Setup', '5');
console.timeLog('Setup', '5');
// get current user information
const user = await api.auth.me();
@ -385,7 +385,7 @@ const setup = async ({
console.error(`Error resetting base: ${process.env.TEST_PARALLEL_INDEX}`, e);
}
console.timeLog('Setup', 'Reset DB');
console.timeLog('Setup', '6');
if (response.status !== 200 || !response.data?.token || !response.data?.base) {
console.error('Failed to reset test data', response.data, response.status, dbType);

Loading…
Cancel
Save