@iblai/iblai-js 2.47.0 → 2.47.2
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 +4 -6
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.esm.js +4 -6
- package/dist/playwright/index.esm.js.map +1 -1
- package/dist/web-containers/source/tsconfig.tsbuildinfo +1 -1
- package/dist/web-containers/source/web-containers/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -964,8 +964,8 @@ async function waitForReportOutcomeOrCSVDialogOpen(page) {
|
|
|
964
964
|
name: 'CSV data table',
|
|
965
965
|
});
|
|
966
966
|
await expect(csvTable).toBeVisible();
|
|
967
|
-
await expect(csvEditorDialog.
|
|
968
|
-
await expect(csvEditorDialog.
|
|
967
|
+
await expect(csvEditorDialog.getByTestId('csv-cancel-button')).toBeVisible();
|
|
968
|
+
await expect(csvEditorDialog.getByTestId('csv-save-button')).toBeVisible();
|
|
969
969
|
await expect(csvEditorDialog.getByRole('button', { name: 'Close' }).first()).toBeVisible();
|
|
970
970
|
logger.info('CSV Editor dialog opened successfully');
|
|
971
971
|
return csvEditorDialog;
|
|
@@ -1084,7 +1084,7 @@ async function shouldSaveEditedCSVAndTriggerDownload(page) {
|
|
|
1084
1084
|
return;
|
|
1085
1085
|
}
|
|
1086
1086
|
const downloadPromise = page.waitForEvent('download', { timeout: 40000 });
|
|
1087
|
-
const saveButton = csvEditorDialog.
|
|
1087
|
+
const saveButton = csvEditorDialog.getByTestId('csv-save-button');
|
|
1088
1088
|
await saveButton.click();
|
|
1089
1089
|
const download = await downloadPromise;
|
|
1090
1090
|
const filename = download.suggestedFilename();
|
|
@@ -1110,9 +1110,7 @@ async function shouldCloseCSVEditorWithoutSavingWhenClickingCancel(page) {
|
|
|
1110
1110
|
test$2.skip();
|
|
1111
1111
|
return;
|
|
1112
1112
|
}
|
|
1113
|
-
const cancelButton = csvEditorDialog.
|
|
1114
|
-
name: 'Cancel',
|
|
1115
|
-
});
|
|
1113
|
+
const cancelButton = csvEditorDialog.getByTestId('csv-cancel-button');
|
|
1116
1114
|
await cancelButton.click();
|
|
1117
1115
|
await expect(csvEditorDialog).not.toBeVisible({ timeout: 5000 });
|
|
1118
1116
|
logger.info('CSV Editor dialog closed via Cancel button');
|