@iblai/iblai-js 1.1.1 → 1.1.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.d.ts +4 -23
- package/dist/web-containers/source/index.esm.js +2548 -2137
- package/dist/web-containers/source/next/index.esm.js +1569 -714
- package/package.json +4 -4
- package/dist/data-layer/index.cjs +0 -13
- package/dist/data-layer/index.cjs.map +0 -1
- package/dist/playwright/index.js +0 -1570
- package/dist/playwright/index.js.map +0 -1
- package/dist/web-containers/index.cjs +0 -13
- package/dist/web-containers/index.cjs.map +0 -1
- package/dist/web-containers/next.cjs +0 -13
- package/dist/web-containers/next.cjs.map +0 -1
- package/dist/web-containers/sso.cjs +0 -13
- package/dist/web-containers/sso.cjs.map +0 -1
- package/dist/web-utils/index.cjs +0 -13
- package/dist/web-utils/index.cjs.map +0 -1
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import * as _playwright_test from '@playwright/test';
|
|
2
1
|
import { Page, Locator, PlaywrightTestConfig } from '@playwright/test';
|
|
3
2
|
export { expect } from '@playwright/test';
|
|
4
3
|
import winston from 'winston';
|
|
5
4
|
import { Reporter, FullConfig, Suite, TestCase, TestResult, FullResult } from '@playwright/test/reporter';
|
|
6
5
|
import { RuleObject } from 'axe-core';
|
|
7
|
-
import * as playwright_core from 'playwright-core';
|
|
8
6
|
|
|
9
7
|
interface SafeWaitForURLOptions {
|
|
10
8
|
timeout?: number;
|
|
@@ -35,9 +33,7 @@ declare function safeWaitForURL(page: Page, urlPattern: string | RegExp | ((url:
|
|
|
35
33
|
declare function waitForPageLoad(page: Page): Promise<void>;
|
|
36
34
|
declare function closeWithEsc(page: Page): Promise<void>;
|
|
37
35
|
type StepFn = (title: string, fn: () => unknown) => unknown;
|
|
38
|
-
declare const test:
|
|
39
|
-
step: StepFn;
|
|
40
|
-
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions>;
|
|
36
|
+
declare const test: any;
|
|
41
37
|
declare const retry: (action: () => Promise<void>, errorMessage: string, retryCount?: number) => Promise<void>;
|
|
42
38
|
|
|
43
39
|
declare const isJSON: (value: string) => boolean;
|
|
@@ -197,7 +193,7 @@ declare function expectNoAccessibilityViolations(page: Page): Promise<void>;
|
|
|
197
193
|
declare function expectNoAccessibilityViolationsOnDialogs(page: Page, rules?: RuleObject, exclude?: string[]): Promise<void>;
|
|
198
194
|
|
|
199
195
|
declare function inviteUserTest(page: Page, inviteModal: Locator): Promise<void>;
|
|
200
|
-
declare function navigateToAccountComponent(page: Page, profileBtn: Locator): Promise<
|
|
196
|
+
declare function navigateToAccountComponent(page: Page, profileBtn: Locator): Promise<any>;
|
|
201
197
|
declare function navigateToDataReports(page: Page): Promise<void>;
|
|
202
198
|
declare function shouldDisplayReportCards(page: Page, REPORT_CARDS: {
|
|
203
199
|
name: string;
|
|
@@ -355,14 +351,7 @@ declare function getBrowserKey(deviceName: string): string;
|
|
|
355
351
|
declare function generateBrowserSetupProjects(devicesToUse: string[]): {
|
|
356
352
|
name: string;
|
|
357
353
|
testMatch: RegExp;
|
|
358
|
-
use:
|
|
359
|
-
viewport: playwright_core.ViewportSize;
|
|
360
|
-
userAgent: string;
|
|
361
|
-
deviceScaleFactor: number;
|
|
362
|
-
isMobile: boolean;
|
|
363
|
-
hasTouch: boolean;
|
|
364
|
-
defaultBrowserType: "chromium" | "firefox" | "webkit";
|
|
365
|
-
};
|
|
354
|
+
use: any;
|
|
366
355
|
}[];
|
|
367
356
|
/**
|
|
368
357
|
* Generate a Playwright project config for a platform + device combination.
|
|
@@ -370,15 +359,7 @@ declare function generateBrowserSetupProjects(devicesToUse: string[]): {
|
|
|
370
359
|
declare function generateProjectConfig(platform: string, deviceName: string, dependencies?: string[], otherTestMatch?: string[], testIgnoreMatch?: string[]): {
|
|
371
360
|
name: string;
|
|
372
361
|
testMatch: string[];
|
|
373
|
-
use:
|
|
374
|
-
storageState: string;
|
|
375
|
-
viewport: playwright_core.ViewportSize;
|
|
376
|
-
userAgent: string;
|
|
377
|
-
deviceScaleFactor: number;
|
|
378
|
-
isMobile: boolean;
|
|
379
|
-
hasTouch: boolean;
|
|
380
|
-
defaultBrowserType: "chromium" | "firefox" | "webkit";
|
|
381
|
-
};
|
|
362
|
+
use: any;
|
|
382
363
|
dependencies: string[];
|
|
383
364
|
testIgnore: string[];
|
|
384
365
|
};
|