d5-testing-library 1.7.0-alpha.0 → 1.7.0-alpha.1
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/FormEdit-XOCYARDX.mjs +7 -0
- package/dist/ListForm-R7WQIGBI.mjs +7 -0
- package/dist/TreeView-STUAAR65.mjs +8 -0
- package/dist/{chunk-H6LCUGIP.mjs → chunk-CKCSBNKD.mjs} +1 -1
- package/dist/{chunk-ISIVPVER.mjs → chunk-JITTN2NY.mjs} +3 -3
- package/dist/{chunk-M7ZEJQ34.mjs → chunk-Q67RHZDP.mjs} +1 -1
- package/dist/{chunk-PVVYHCDQ.mjs → chunk-WUPIBFH7.mjs} +4 -3
- package/dist/cjs/d5-testing-library.cjs +4 -2
- package/dist/d5-testing-library.legacy-esm.js +4 -4
- package/dist/d5-testing-library.mjs +4 -4
- package/package.json +1 -1
- package/dist/FormEdit-2OXEIJRD.mjs +0 -7
- package/dist/ListForm-NWULJ2P6.mjs +0 -7
- package/dist/TreeView-USLYNLBL.mjs +0 -8
|
@@ -1114,15 +1114,15 @@ async function classDependencyInjector(formType) {
|
|
|
1114
1114
|
let SubFormFactoryClass;
|
|
1115
1115
|
switch (formType) {
|
|
1116
1116
|
case "1" /* LIST */:
|
|
1117
|
-
SubFormFactoryClass = (await import("./ListForm-
|
|
1117
|
+
SubFormFactoryClass = (await import("./ListForm-R7WQIGBI.mjs")).default;
|
|
1118
1118
|
break;
|
|
1119
1119
|
case "3" /* TREE */:
|
|
1120
|
-
SubFormFactoryClass = (await import("./TreeView-
|
|
1120
|
+
SubFormFactoryClass = (await import("./TreeView-STUAAR65.mjs")).default;
|
|
1121
1121
|
break;
|
|
1122
1122
|
case "2" /* EDIT */:
|
|
1123
1123
|
case "99" /* FREE_FORM */:
|
|
1124
1124
|
case "4" /* REPORT */:
|
|
1125
|
-
SubFormFactoryClass = (await import("./FormEdit-
|
|
1125
|
+
SubFormFactoryClass = (await import("./FormEdit-XOCYARDX.mjs")).default;
|
|
1126
1126
|
break;
|
|
1127
1127
|
default:
|
|
1128
1128
|
throw new Error(`Unsupported form type ${formType}`);
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
wait,
|
|
17
17
|
waitElementIsClickable,
|
|
18
18
|
waitElementIsVisible
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JITTN2NY.mjs";
|
|
20
20
|
|
|
21
21
|
// src/pageObjects/elements/Table/Table.ts
|
|
22
22
|
import { By as By5 } from "selenium-webdriver";
|
|
@@ -151,8 +151,9 @@ var Row = class extends AbstractElementWithParent {
|
|
|
151
151
|
const buttonCssSelector = `.${DX_DATA_ROW_CLASS}[aria-rowindex="${transformInputIndex(
|
|
152
152
|
this.index
|
|
153
153
|
)}"] .${buttonClass}`;
|
|
154
|
-
const button = await
|
|
155
|
-
By3.css(`${this.parentCssSelector} ${FIXED_TABLE_CSS_SELECTOR} ${buttonCssSelector}`)
|
|
154
|
+
const button = await fixElementStaleError(
|
|
155
|
+
By3.css(`${this.parentCssSelector} ${FIXED_TABLE_CSS_SELECTOR} ${buttonCssSelector}`),
|
|
156
|
+
this.driver
|
|
156
157
|
);
|
|
157
158
|
return click(button, this.driver);
|
|
158
159
|
}
|
|
@@ -1503,6 +1503,7 @@ var init_Row = __esm({
|
|
|
1503
1503
|
init_AbstractElementWithParent();
|
|
1504
1504
|
init_actions();
|
|
1505
1505
|
init_wait();
|
|
1506
|
+
init_fixElementStaleError();
|
|
1506
1507
|
DX_SELECTION_CLASS = "dx-selection";
|
|
1507
1508
|
DX_ROW_EDIT_CLASS = "dx-edit-row";
|
|
1508
1509
|
DX_DATA_ROW_CLASS = "dx-data-row";
|
|
@@ -1566,8 +1567,9 @@ var init_Row = __esm({
|
|
|
1566
1567
|
const buttonCssSelector = `.${DX_DATA_ROW_CLASS}[aria-rowindex="${transformInputIndex(
|
|
1567
1568
|
this.index
|
|
1568
1569
|
)}"] .${buttonClass}`;
|
|
1569
|
-
const button = await
|
|
1570
|
-
import_selenium_webdriver21.By.css(`${this.parentCssSelector} ${FIXED_TABLE_CSS_SELECTOR} ${buttonCssSelector}`)
|
|
1570
|
+
const button = await fixElementStaleError(
|
|
1571
|
+
import_selenium_webdriver21.By.css(`${this.parentCssSelector} ${FIXED_TABLE_CSS_SELECTOR} ${buttonCssSelector}`),
|
|
1572
|
+
this.driver
|
|
1571
1573
|
);
|
|
1572
1574
|
return click(button, this.driver);
|
|
1573
1575
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TreeView
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q67RHZDP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
FilterPanel,
|
|
6
6
|
FormFilterField,
|
|
7
7
|
ListForm,
|
|
8
8
|
PanelFilterField
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WUPIBFH7.mjs";
|
|
10
10
|
import {
|
|
11
11
|
FormEdit
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CKCSBNKD.mjs";
|
|
13
13
|
import {
|
|
14
14
|
AbstractButton,
|
|
15
15
|
AbstractElement,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
readonlyLocator,
|
|
31
31
|
wait,
|
|
32
32
|
waitElementIsVisible
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-JITTN2NY.mjs";
|
|
34
34
|
|
|
35
35
|
// src/pageObjects/pages/LoginPage.ts
|
|
36
36
|
var LOGIN_PATH = "/login";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TreeView
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q67RHZDP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
FilterPanel,
|
|
6
6
|
FormFilterField,
|
|
7
7
|
ListForm,
|
|
8
8
|
PanelFilterField
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WUPIBFH7.mjs";
|
|
10
10
|
import {
|
|
11
11
|
FormEdit
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CKCSBNKD.mjs";
|
|
13
13
|
import {
|
|
14
14
|
AbstractButton,
|
|
15
15
|
AbstractElement,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
readonlyLocator,
|
|
31
31
|
wait,
|
|
32
32
|
waitElementIsVisible
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-JITTN2NY.mjs";
|
|
34
34
|
|
|
35
35
|
// src/pageObjects/pages/LoginPage.ts
|
|
36
36
|
var LOGIN_PATH = "/login";
|
package/package.json
CHANGED