@iblai/iblai-js 1.4.2 → 1.4.4

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.
@@ -1,6 +1,18 @@
1
1
  import { Locator, Page } from '@playwright/test';
2
2
  export declare function inviteUserTest(page: Page, inviteModal: Locator): Promise<void>;
3
3
  export declare function navigateToAccountComponent(page: Page, profileBtn: Locator): Promise<Locator>;
4
+ /**
5
+ * Click a report card's primary action and confirm the date-range picker, so callers
6
+ * always end up in the post-generation state.
7
+ *
8
+ * Prefers the "Regenerate report" button when present (completed reports) because the plain
9
+ * "Download report" button on a completed card re-downloads the existing URL and skips the
10
+ * picker. When no Regenerate button exists, clicks "Download report" — which on a
11
+ * non-completed card also opens the picker.
12
+ *
13
+ * Either way we wait for the picker and click Generate/Regenerate to start the report.
14
+ */
15
+ export declare function triggerReportFromCard(page: Page, card: Locator): Promise<void>;
4
16
  export declare function navigateToDataReports(page: Page): Promise<void>;
5
17
  export declare function shouldDisplayReportCards(page: Page, REPORT_CARDS: {
6
18
  name: string;