@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
|
@@ -1055,14 +1055,15 @@ async function shouldAddNewRowWhenClickingAddRowButton(page) {
|
|
|
1055
1055
|
return;
|
|
1056
1056
|
}
|
|
1057
1057
|
const table = csvEditorDialog.locator('table');
|
|
1058
|
-
|
|
1058
|
+
// Rows are virtualized, so count them from the table's row count, not the DOM.
|
|
1059
|
+
const initialRowCount = Number(await table.getAttribute('aria-rowcount'));
|
|
1059
1060
|
const addRowButton = csvEditorDialog.getByRole('button', {
|
|
1060
1061
|
name: 'Add Row',
|
|
1061
1062
|
});
|
|
1062
1063
|
await expect(addRowButton).toBeVisible();
|
|
1063
1064
|
await addRowButton.click();
|
|
1064
|
-
|
|
1065
|
-
|
|
1065
|
+
await expect(table).toHaveAttribute('aria-rowcount', String(initialRowCount + 1));
|
|
1066
|
+
const newRowCount = initialRowCount + 1;
|
|
1066
1067
|
logger.info(`Added new row. Row count changed from ${initialRowCount} to ${newRowCount}`);
|
|
1067
1068
|
}
|
|
1068
1069
|
async function shouldSaveEditedCSVAndTriggerDownload(page) {
|
|
@@ -1255,31 +1256,30 @@ async function shouldDirectlyDownloadChatHistoryReportWithoutCSVEditor(page) {
|
|
|
1255
1256
|
const dialogOpened = await csvEditorDialog.isVisible().catch(() => false);
|
|
1256
1257
|
expect(dialogOpened).toBeFalsy();
|
|
1257
1258
|
}
|
|
1259
|
+
// A small report keeps the run fast and the CSV editor responsive; the first card can be a
|
|
1260
|
+
// multi-megabyte one (e.g. the Agent Interaction Research Report).
|
|
1261
|
+
const SMALL_REPORT_NAME = 'Agent List Report';
|
|
1258
1262
|
async function shouldDisableOtherDownloadButtonsWhileGeneratingReport(page) {
|
|
1259
1263
|
const dataReportsTab = page.getByRole('tab', { name: 'Data Reports' });
|
|
1260
1264
|
await expect(dataReportsTab).toBeVisible({ timeout: 120000 });
|
|
1261
1265
|
await dataReportsTab.click();
|
|
1262
1266
|
await waitForPageReady(page);
|
|
1263
|
-
const
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1267
|
+
const reportCards = page.getByLabel(/ report card$/);
|
|
1268
|
+
const smallReportCard = page.getByLabel(`${SMALL_REPORT_NAME} report card`);
|
|
1269
|
+
const otherDownloadButton = reportCards
|
|
1270
|
+
.filter({ hasNotText: SMALL_REPORT_NAME })
|
|
1271
|
+
.first()
|
|
1272
|
+
.getByRole('button', { name: 'Download report' });
|
|
1273
|
+
const hasSmallReport = await smallReportCard.isVisible().catch(() => false);
|
|
1274
|
+
if (!hasSmallReport || (await otherDownloadButton.count()) === 0) {
|
|
1275
|
+
logger.info(`No ${SMALL_REPORT_NAME} card plus another report card - skipping`);
|
|
1269
1276
|
test$2.skip();
|
|
1270
1277
|
return;
|
|
1271
1278
|
}
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
//slight timeout to wait for other download buttons to be disabled
|
|
1277
|
-
await page.waitForTimeout(500);
|
|
1278
|
-
const secondButton = downloadButtons.nth(1);
|
|
1279
|
-
const isSecondDisabled = await secondButton.isDisabled();
|
|
1280
|
-
if (isSecondDisabled) {
|
|
1281
|
-
logger.info('Other download buttons correctly disabled during report generation');
|
|
1282
|
-
}
|
|
1279
|
+
await expect(otherDownloadButton).toBeEnabled();
|
|
1280
|
+
await triggerReportFromCard(page, smallReportCard);
|
|
1281
|
+
await expect(otherDownloadButton).toBeDisabled();
|
|
1282
|
+
logger.info('Other download buttons correctly disabled during report generation');
|
|
1283
1283
|
const csvEditorDialog = await waitForReportOutcomeOrCSVDialogOpen(page);
|
|
1284
1284
|
if (!csvEditorDialog) {
|
|
1285
1285
|
test$2.skip();
|