@iblai/iblai-js 2.67.1 → 2.67.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/playwright/index.cjs +20 -20
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.esm.js +20 -20
- package/dist/playwright/index.esm.js.map +1 -1
- package/dist/web-containers/source/chat/index.js +5 -0
- package/dist/web-containers/source/chat/index.js.map +1 -1
- package/dist/web-containers/source/components/chat/index.js +5 -0
- package/dist/web-containers/source/components/chat/index.js.map +1 -1
- package/dist/web-containers/source/components/profile/csv-editor.js +45 -8
- package/dist/web-containers/source/components/profile/csv-editor.js.map +1 -1
- package/dist/web-containers/source/csv-editor.js +45 -8
- package/dist/web-containers/source/csv-editor.js.map +1 -1
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_react-virtual@3.14.25_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@tanstack/react-virtual/dist/esm/index.js +138 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_react-virtual@3.14.25_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@tanstack/react-virtual/dist/esm/index.js.map +1 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/index.js +1636 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/index.js.map +1 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/ios-gesture.js +122 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/ios-gesture.js.map +1 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +36 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js.map +1 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/scroll-classifier.js +82 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/scroll-classifier.js.map +1 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/utils.js +80 -0
- package/dist/web-containers/source/node_modules/.pnpm/@tanstack_virtual-core@3.19.10/node_modules/@tanstack/virtual-core/dist/esm/utils.js.map +1 -0
- package/dist/web-containers/source/profile/csv-editor.js +45 -8
- package/dist/web-containers/source/profile/csv-editor.js.map +1 -1
- package/dist/web-containers/source/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1056,14 +1056,15 @@ async function shouldAddNewRowWhenClickingAddRowButton(page) {
|
|
|
1056
1056
|
return;
|
|
1057
1057
|
}
|
|
1058
1058
|
const table = csvEditorDialog.locator('table');
|
|
1059
|
-
|
|
1059
|
+
// Rows are virtualized, so count them from the table's row count, not the DOM.
|
|
1060
|
+
const initialRowCount = Number(await table.getAttribute('aria-rowcount'));
|
|
1060
1061
|
const addRowButton = csvEditorDialog.getByRole('button', {
|
|
1061
1062
|
name: 'Add Row',
|
|
1062
1063
|
});
|
|
1063
1064
|
await test$1.expect(addRowButton).toBeVisible();
|
|
1064
1065
|
await addRowButton.click();
|
|
1065
|
-
|
|
1066
|
-
|
|
1066
|
+
await test$1.expect(table).toHaveAttribute('aria-rowcount', String(initialRowCount + 1));
|
|
1067
|
+
const newRowCount = initialRowCount + 1;
|
|
1067
1068
|
logger.info(`Added new row. Row count changed from ${initialRowCount} to ${newRowCount}`);
|
|
1068
1069
|
}
|
|
1069
1070
|
async function shouldSaveEditedCSVAndTriggerDownload(page) {
|
|
@@ -1256,31 +1257,30 @@ async function shouldDirectlyDownloadChatHistoryReportWithoutCSVEditor(page) {
|
|
|
1256
1257
|
const dialogOpened = await csvEditorDialog.isVisible().catch(() => false);
|
|
1257
1258
|
test$1.expect(dialogOpened).toBeFalsy();
|
|
1258
1259
|
}
|
|
1260
|
+
// A small report keeps the run fast and the CSV editor responsive; the first card can be a
|
|
1261
|
+
// multi-megabyte one (e.g. the Agent Interaction Research Report).
|
|
1262
|
+
const SMALL_REPORT_NAME = 'Agent List Report';
|
|
1259
1263
|
async function shouldDisableOtherDownloadButtonsWhileGeneratingReport(page) {
|
|
1260
1264
|
const dataReportsTab = page.getByRole('tab', { name: 'Data Reports' });
|
|
1261
1265
|
await test$1.expect(dataReportsTab).toBeVisible({ timeout: 120000 });
|
|
1262
1266
|
await dataReportsTab.click();
|
|
1263
1267
|
await waitForPageReady(page);
|
|
1264
|
-
const
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1268
|
+
const reportCards = page.getByLabel(/ report card$/);
|
|
1269
|
+
const smallReportCard = page.getByLabel(`${SMALL_REPORT_NAME} report card`);
|
|
1270
|
+
const otherDownloadButton = reportCards
|
|
1271
|
+
.filter({ hasNotText: SMALL_REPORT_NAME })
|
|
1272
|
+
.first()
|
|
1273
|
+
.getByRole('button', { name: 'Download report' });
|
|
1274
|
+
const hasSmallReport = await smallReportCard.isVisible().catch(() => false);
|
|
1275
|
+
if (!hasSmallReport || (await otherDownloadButton.count()) === 0) {
|
|
1276
|
+
logger.info(`No ${SMALL_REPORT_NAME} card plus another report card - skipping`);
|
|
1270
1277
|
test$1.skip();
|
|
1271
1278
|
return;
|
|
1272
1279
|
}
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
//slight timeout to wait for other download buttons to be disabled
|
|
1278
|
-
await page.waitForTimeout(500);
|
|
1279
|
-
const secondButton = downloadButtons.nth(1);
|
|
1280
|
-
const isSecondDisabled = await secondButton.isDisabled();
|
|
1281
|
-
if (isSecondDisabled) {
|
|
1282
|
-
logger.info('Other download buttons correctly disabled during report generation');
|
|
1283
|
-
}
|
|
1280
|
+
await test$1.expect(otherDownloadButton).toBeEnabled();
|
|
1281
|
+
await triggerReportFromCard(page, smallReportCard);
|
|
1282
|
+
await test$1.expect(otherDownloadButton).toBeDisabled();
|
|
1283
|
+
logger.info('Other download buttons correctly disabled during report generation');
|
|
1284
1284
|
const csvEditorDialog = await waitForReportOutcomeOrCSVDialogOpen(page);
|
|
1285
1285
|
if (!csvEditorDialog) {
|
|
1286
1286
|
test$1.skip();
|