@digital-ai/devops-page-object-deploy 0.0.5 → 0.0.6

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/module.js CHANGED
@@ -2,8 +2,9 @@ import {test as $lE6ZQ$test, expect as $lE6ZQ$expect} from "@playwright/test";
2
2
  import {split as $lE6ZQ$split, join as $lE6ZQ$join, take as $lE6ZQ$take} from "rambda";
3
3
 
4
4
  class $b464119f5ec5aad0$export$6e2c8f0811a474ce {
5
- constructor(sectionRootLocator){
6
- this.sectionRoot = sectionRootLocator;
5
+ constructor(parentLocator, sectionRootLocator){
6
+ this.parentLocator = parentLocator;
7
+ this.sectionRoot = this.parentLocator.locator(sectionRootLocator);
7
8
  }
8
9
  /**
9
10
  * Get child element in the section "this.sectionRoot" refers to
@@ -16,8 +17,8 @@ class $b464119f5ec5aad0$export$6e2c8f0811a474ce {
16
17
 
17
18
 
18
19
  class $66de4f08dadae772$export$cc4f63927c41742f extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
19
- constructor(page){
20
- super(page.getByTestId("primaryNav"));
20
+ constructor(parentLocator, page){
21
+ super(parentLocator, page.getByTestId("primaryNav"));
21
22
  }
22
23
  /**
23
24
  * Click on side navigation links
@@ -28,8 +29,9 @@ class $66de4f08dadae772$export$cc4f63927c41742f extends (0, $b464119f5ec5aad0$ex
28
29
 
29
30
 
30
31
  class $26d8c96bf2341a59$export$110709f040143804 extends (0, $66de4f08dadae772$export$cc4f63927c41742f) {
31
- constructor(page){
32
- super(page);
32
+ static sectionRootLocator = ".Pane vertical Pane1";
33
+ constructor(parentLocator, page){
34
+ super(parentLocator, page);
33
35
  this.backButtonLocator = page.getByTestId("back-button");
34
36
  this.linkExploreLocator = page.locator("p:has-text('Explorer')");
35
37
  this.linkCompareLocator = page.locator("p:has-text('Compare')");
@@ -103,17 +105,18 @@ class $26d8c96bf2341a59$export$110709f040143804 extends (0, $66de4f08dadae772$ex
103
105
 
104
106
 
105
107
  class $7f808a48ced6cace$export$3b4e64e77073e307 extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
106
- constructor(page){
107
- super(page.locator(".banner-container"));
108
+ constructor(parentLocator, page){
109
+ super(parentLocator, page.locator(".banner-container"));
108
110
  }
109
111
  }
110
112
 
111
113
 
112
114
  class $5dbb03b38de032e2$export$7c6e2c02157bb7d2 extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
113
- constructor(page){
114
- super(page.locator(".Pane.vertical.Pane1"));
115
- this.banner = new (0, $7f808a48ced6cace$export$3b4e64e77073e307)(page);
116
- this.leftPanel = new (0, $26d8c96bf2341a59$export$110709f040143804)(page);
115
+ static sectionRoot = ".app-root";
116
+ constructor(parentLocator, page){
117
+ super(parentLocator, page.locator($5dbb03b38de032e2$export$7c6e2c02157bb7d2.sectionRoot));
118
+ this.banner = new (0, $7f808a48ced6cace$export$3b4e64e77073e307)(page.locator($5dbb03b38de032e2$export$7c6e2c02157bb7d2.sectionRoot), page);
119
+ this.leftPanel = new (0, $26d8c96bf2341a59$export$110709f040143804)(page.locator($5dbb03b38de032e2$export$7c6e2c02157bb7d2.sectionRoot), page);
117
120
  }
118
121
  }
119
122
 
@@ -126,7 +129,7 @@ class $54bcd1bcf08dd053$export$d9b273488cd8ce6f extends (0, $b464119f5ec5aad0$ex
126
129
  * @param menuLinkLocator Menu link locator thats used to open/close the menu
127
130
  * @param menuItemsParentLocator Menu items that opens up when menu link is clicked
128
131
  */ constructor(menuContentRootLocator, menuLinkLocator, menuItemsParentLocator){
129
- super(menuContentRootLocator);
132
+ super($54bcd1bcf08dd053$export$d9b273488cd8ce6f.parentLocator, menuContentRootLocator);
130
133
  this.menuLinkLocator = menuLinkLocator;
131
134
  this.menuItemsParentLocator = menuContentRootLocator.locator(menuItemsParentLocator);
132
135
  }
@@ -208,9 +211,10 @@ class $b4bd429df4806013$export$5929c05a25eed48f extends (0, $54bcd1bcf08dd053$ex
208
211
 
209
212
 
210
213
  class $60e85cd955b64c3b$export$ca8bffe144e51c8 extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
211
- constructor(page){
212
- super(page.locator(".dot-branding"));
213
- this.logo = page.getByTestId("primary-logo");
214
+ static sectionRootLocator = ".dot-branding";
215
+ constructor(parentLocator, page){
216
+ super(parentLocator, page.locator($60e85cd955b64c3b$export$ca8bffe144e51c8.sectionRootLocator));
217
+ this.logo = this.findElementInSection(page.getByTestId("primary-logo"));
214
218
  }
215
219
  async clickLogo() {
216
220
  await this.logo.click();
@@ -265,29 +269,37 @@ class $e05e449fbf3516f1$export$1d7840d5cdc861d5 extends (0, $54bcd1bcf08dd053$ex
265
269
 
266
270
 
267
271
 
272
+
268
273
  class $e477fae343f80541$export$f7f58290278dd286 extends (0, $54bcd1bcf08dd053$export$d9b273488cd8ce6f) {
269
274
  constructor(page){
270
- super(page.locator("#context-menu-popover"), page.getByTitle("admin"), page.locator(".dropdown-menu.multi-level.dropdown-menu-0"));
275
+ super(page.locator("#context-menu-popover"), page.getByTitle(".dot-avatar"), page.locator(".dropdown-menu.multi-level.dropdown-menu-0"));
276
+ this.page = page;
271
277
  this.userProfileLocator = page.getByRole("link", {
272
278
  name: "User profile"
273
279
  });
274
280
  this.logoutLocator = page.getByRole("link", {
275
281
  name: "Log out"
276
282
  });
283
+ this.avatarTooltip = page.locator(".avatar-wrapper>.dot-tooltip");
277
284
  }
278
285
  async clickUserProfile() {
279
286
  await this.clickMenuItem(this.userProfileLocator);
280
287
  }
281
- async Logout() {
288
+ async logout() {
282
289
  await this.clickMenuItem(this.logoutLocator);
283
290
  }
291
+ async validateAvatarName(expectedName) {
292
+ (0, $lE6ZQ$expect)(await this.avatarTooltip.getAttribute("title")).toContain(expectedName);
293
+ }
284
294
  }
285
295
 
286
296
 
287
297
  class $7bc68dfa9f2318a7$export$8b251419efc915eb extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
288
- constructor(page){
289
- super(page.locator(".main-header-wrapper.logged-in"));
290
- this.brandLogo = new (0, $60e85cd955b64c3b$export$ca8bffe144e51c8)(page);
298
+ static sectionRootLocator = ".main-header-wrapper.logged-in";
299
+ constructor(parentLocator, page){
300
+ super(parentLocator, page.locator($7bc68dfa9f2318a7$export$8b251419efc915eb.sectionRootLocator));
301
+ this.page = page;
302
+ this.brandLogo = new (0, $60e85cd955b64c3b$export$ca8bffe144e51c8)(page.locator(".main-header-wrapper.logged-in"), page);
291
303
  this.helperMenu = new (0, $b4bd429df4806013$export$5929c05a25eed48f)(page);
292
304
  this.settingsMenu = new (0, $e05e449fbf3516f1$export$1d7840d5cdc861d5)(page);
293
305
  this.avatarMenu = new (0, $e477fae343f80541$export$f7f58290278dd286)(page);
@@ -297,8 +309,47 @@ class $7bc68dfa9f2318a7$export$8b251419efc915eb extends (0, $b464119f5ec5aad0$ex
297
309
 
298
310
  class $7d546dcaafadc158$export$2b65d1d97338f32b {
299
311
  constructor(page){
300
- this.header = new (0, $7bc68dfa9f2318a7$export$8b251419efc915eb)(page);
301
- this.content = new (0, $5dbb03b38de032e2$export$7c6e2c02157bb7d2)(page);
312
+ this.header = new (0, $7bc68dfa9f2318a7$export$8b251419efc915eb)(page.locator(".ci-explorer"), page);
313
+ this.content = new (0, $5dbb03b38de032e2$export$7c6e2c02157bb7d2)(page.locator(".ci-explorer"), page);
314
+ }
315
+ }
316
+
317
+
318
+
319
+ class $9f5bc0f6324fb5ea$export$a7fed597f4b8afd8 extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
320
+ constructor(parentLocator, mainContentRootLocator){
321
+ super(parentLocator, mainContentRootLocator);
322
+ }
323
+ async fillTextInput(textInput, textValue) {
324
+ await textInput.clear();
325
+ await textInput.fill(textValue);
326
+ }
327
+ }
328
+
329
+
330
+ class $bc332e5dcec2d43b$export$56c2ba9e13461f38 extends (0, $9f5bc0f6324fb5ea$export$a7fed597f4b8afd8) {
331
+ static mainContentRootLocator = ".login-component";
332
+ constructor(parentLocator, page){
333
+ super(parentLocator, page.locator($bc332e5dcec2d43b$export$56c2ba9e13461f38.mainContentRootLocator));
334
+ this.page = page;
335
+ this.username = this.findElementInSection(page.getByPlaceholder("User"));
336
+ this.password = this.findElementInSection(page.getByPlaceholder("Password"));
337
+ this.loginButton = this.findElementInSection(page.getByRole("button", {
338
+ name: "Log in"
339
+ }));
340
+ this.rememberMeCheckbox = this.findElementInSection(page.locator("#rememberMeCheckbox"));
341
+ }
342
+ async enterUserName(username) {
343
+ await this.fillTextInput(this.username, username);
344
+ }
345
+ async enterPassword(password) {
346
+ await this.fillTextInput(this.password, password);
347
+ }
348
+ async clickLogin() {
349
+ await this.loginButton.click();
350
+ }
351
+ async clickRememberMe() {
352
+ await this.rememberMeCheckbox.click();
302
353
  }
303
354
  }
304
355
 
@@ -307,19 +358,15 @@ class $c2c31ea6199a3576$export$f14c0e3f98d164c0 extends (0, $7d546dcaafadc158$ex
307
358
  constructor(page){
308
359
  super(page);
309
360
  this.page = page;
310
- this.username = page.getByPlaceholder("User");
311
- this.password = page.getByPlaceholder("Password");
312
- this.loginButton = page.getByRole("button", {
313
- name: "Log in"
314
- });
315
- this.rememberMeCheckbox = page.locator("#rememberMeCheckbox");
361
+ this.loginForm = new (0, $bc332e5dcec2d43b$export$56c2ba9e13461f38)(page.locator(".login-layout"), page);
316
362
  }
317
363
  async login(user, pwd) {
318
364
  await this.page.goto("/#/login");
319
- await this.username.fill(user);
320
- await this.password.fill(pwd);
321
- await this.loginButton.click();
365
+ await this.loginForm.enterUserName(user);
366
+ await this.loginForm.enterPassword(pwd);
367
+ await this.loginForm.clickLogin();
322
368
  await this.page.locator(".main-layout").waitFor();
369
+ await this.header.avatarMenu.validateAvatarName(user);
323
370
  }
324
371
  }
325
372
 
@@ -333,8 +380,7 @@ class $85032414fe55e0f1$export$7db63d2c950874b5 {
333
380
  /**
334
381
  * Create New directory under applications CI.
335
382
  * @param appDirectoryName
336
- * @param expectedCiType
337
- */ async createNewApplicationDirectory(appDirectoryName, expectedCiType) {
383
+ */ async createNewApplicationDirectory(appDirectoryName) {
338
384
  await this.applicationPage.contextMenu.clickApplicationCi();
339
385
  await this.applicationPage.contextMenu.clickMenuPath([
340
386
  "new",
@@ -343,14 +389,13 @@ class $85032414fe55e0f1$export$7db63d2c950874b5 {
343
389
  await this.applicationPage.form.assertSaveButtonIsDisabled();
344
390
  await this.applicationPage.form.assertSaveAndCloseButtonIsDisabled();
345
391
  await this.applicationPage.form.enterName(appDirectoryName);
346
- await this.applicationPage.tab.assertActiveTabSelector("Create " + expectedCiType);
392
+ await this.applicationPage.tab.assertActiveTabSelector("Create core.directory");
347
393
  await this.applicationPage.form.clickSaveAndClose();
348
394
  }
349
395
  /**
350
396
  * Create new application under Application ci
351
397
  * @param appName
352
- * @param expectedCiType
353
- */ async createNewApplication(appName, expectedCiType) {
398
+ */ async createNewApplication(appName) {
354
399
  await this.applicationPage.contextMenu.clickApplicationCi();
355
400
  await this.applicationPage.contextMenu.clickMenuPath([
356
401
  "new",
@@ -360,7 +405,7 @@ class $85032414fe55e0f1$export$7db63d2c950874b5 {
360
405
  await this.applicationPage.form.assertSaveAndCloseButtonIsDisabled();
361
406
  await this.applicationPage.form.enterName(appName);
362
407
  await this.applicationPage.form.clickSaveAndClose();
363
- await this.applicationPage.tab.assertActiveTabSelector("Create " + expectedCiType);
408
+ await this.applicationPage.tab.assertActiveTabSelector("Create udm.application");
364
409
  }
365
410
  /**
366
411
  * TODO: It is half done just to check on menu path other than new. Need to create as per scenario.
@@ -458,20 +503,9 @@ class $6d0b1fc17db4a5fb$export$133beb65adbc45a3 extends (0, $54bcd1bcf08dd053$ex
458
503
 
459
504
 
460
505
 
461
- class $9f5bc0f6324fb5ea$export$a7fed597f4b8afd8 extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
462
- constructor(mainContentRootLocator){
463
- super(mainContentRootLocator);
464
- }
465
- async fillTextInput(textInput, textValue) {
466
- await textInput.clear();
467
- await textInput.fill(textValue);
468
- }
469
- }
470
-
471
-
472
506
  class $4baf6ba7e224a0ed$export$13ee474454c1948e extends (0, $9f5bc0f6324fb5ea$export$a7fed597f4b8afd8) {
473
- constructor(page){
474
- super(page.locator(".dip-view-body"));
507
+ constructor(parentLocator, page){
508
+ super(parentLocator, page.locator(".dip-view-body"));
475
509
  this.page = page;
476
510
  this.inputName = page.locator('input[name="name"]');
477
511
  this.inputLatestVersion = page.locator('input[name="lastVersion"]');
@@ -559,8 +593,8 @@ class $4baf6ba7e224a0ed$export$13ee474454c1948e extends (0, $9f5bc0f6324fb5ea$ex
559
593
 
560
594
 
561
595
  class $1f57a739e2592b82$export$2b77a92f1a5ad772 extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
562
- constructor(page){
563
- super(page.locator(".xl-react-modal-content"));
596
+ constructor(parentLocator, page){
597
+ super(parentLocator, page.locator(".xl-react-modal-content"));
564
598
  this.header = page.locator(".modal-header");
565
599
  this.body = page.locator(".modal-body");
566
600
  this.footer = page.locator(".modal-footer");
@@ -569,8 +603,8 @@ class $1f57a739e2592b82$export$2b77a92f1a5ad772 extends (0, $b464119f5ec5aad0$ex
569
603
 
570
604
 
571
605
  class $9a8685efb2ff62b1$export$bd6452a745ffdb18 extends (0, $1f57a739e2592b82$export$2b77a92f1a5ad772) {
572
- constructor(page){
573
- super(page);
606
+ constructor(parentLocator, page){
607
+ super(parentLocator, page);
574
608
  this.deleteButton = page.getByRole("button", {
575
609
  name: "Delete",
576
610
  exact: true
@@ -579,6 +613,10 @@ class $9a8685efb2ff62b1$export$bd6452a745ffdb18 extends (0, $1f57a739e2592b82$ex
579
613
  name: "Cancel",
580
614
  exact: true
581
615
  });
616
+ this.moveButton = page.getByRole("button", {
617
+ name: "Move",
618
+ exact: true
619
+ });
582
620
  }
583
621
  async clickDelete() {
584
622
  await this.footer.locator(this.deleteButton).click();
@@ -586,6 +624,9 @@ class $9a8685efb2ff62b1$export$bd6452a745ffdb18 extends (0, $1f57a739e2592b82$ex
586
624
  async clickCancel() {
587
625
  await this.footer.locator(this.cancelButton).click();
588
626
  }
627
+ async clickMove() {
628
+ await this.footer.locator(this.moveButton).click();
629
+ }
589
630
  }
590
631
 
591
632
 
@@ -600,8 +641,8 @@ class $0ced90cc8a4c42e6$export$5a20f96f6e2d29e9 {
600
641
  this.page = page;
601
642
  this.contextMenu = new (0, $6d0b1fc17db4a5fb$export$133beb65adbc45a3)(page);
602
643
  this.tab = new (0, $f6d52f442cf07ec8$export$3e41faf802a29e71)(page);
603
- this.form = new (0, $4baf6ba7e224a0ed$export$13ee474454c1948e)(page);
604
- this.modal = new (0, $9a8685efb2ff62b1$export$bd6452a745ffdb18)(page);
644
+ this.form = new (0, $4baf6ba7e224a0ed$export$13ee474454c1948e)(page.locator(".Pane.vertical.Pane2"), page);
645
+ this.modal = new (0, $9a8685efb2ff62b1$export$bd6452a745ffdb18)(page.locator(".xl-react-modal-open"), page);
605
646
  }
606
647
  /**
607
648
  * Create new ci under any explorer package by providing following parameters.
@@ -631,10 +672,13 @@ class $0ced90cc8a4c42e6$export$5a20f96f6e2d29e9 {
631
672
  * expands the path of CI by separating path from "/"
632
673
  * @param parentNodeId
633
674
  */ async expandNodePath(parentNodeId) {
634
- const nodeIdParts = $lE6ZQ$split("/", parentNodeId);
635
- for(let ind = 0; ind < nodeIdParts.length; ind++){
636
- const path = $lE6ZQ$join("/", $lE6ZQ$take(ind + 1, nodeIdParts));
637
- await this.expandNode(path);
675
+ const ci = await this.page.isVisible('div[data-id="' + parentNodeId + '"]');
676
+ if (!ci) {
677
+ const nodeIdParts = $lE6ZQ$split("/", parentNodeId);
678
+ for(let ind = 0; ind < nodeIdParts.length; ind++){
679
+ const path = $lE6ZQ$join("/", $lE6ZQ$take(ind + 1, nodeIdParts));
680
+ await this.expandNode(path);
681
+ }
638
682
  }
639
683
  }
640
684
  /**
@@ -755,14 +799,32 @@ class $0ced90cc8a4c42e6$export$5a20f96f6e2d29e9 {
755
799
  */ async clickConfirmAndWait() {
756
800
  await this.modal.clickDelete();
757
801
  }
802
+ /**
803
+ * Move ci
804
+ * @param source_path
805
+ * @param target_path
806
+ */ async moveCi(source_path, target_path) {
807
+ const source_cipath = this.page.locator('div[data-id="' + source_path + '"]');
808
+ const target_cipath = this.page.locator('div[data-id="' + target_path + '"]');
809
+ await this.expandNodePath(source_path);
810
+ //TODO: Find a better way to make sure target can be expanded without error, current implementation is workaround
811
+ await this.page.locator('div[data-id="' + target_path + '"]').textContent();
812
+ await this.expandNodePath(target_path);
813
+ await source_cipath.dragTo(target_cipath);
814
+ }
815
+ /**
816
+ * Click Move button on modal window to Move the CIs
817
+ */ async clickMoveAndWait() {
818
+ await this.modal.clickMove();
819
+ }
758
820
  }
759
821
 
760
822
 
761
823
 
762
824
 
763
825
  class $6cefee8b9be33b2d$export$60413e28724d3abd extends (0, $9f5bc0f6324fb5ea$export$a7fed597f4b8afd8) {
764
- constructor(page){
765
- super(page.locator(".dip-view-body"));
826
+ constructor(parentLocator, page){
827
+ super(parentLocator, page.locator(".dip-view-body"));
766
828
  this.page = page;
767
829
  this.inputName = page.locator('input[name="name"]');
768
830
  this.inputLatestVersion = page.locator('input[name="lastVersion"]');
@@ -855,12 +917,12 @@ class $4e7e9f7ca5788871$export$bf4a5dd3be690f6b extends (0, $7d546dcaafadc158$ex
855
917
  constructor(page){
856
918
  super(page);
857
919
  this.contextMenu = new (0, $6d0b1fc17db4a5fb$export$133beb65adbc45a3)(page);
858
- this.form = new (0, $4baf6ba7e224a0ed$export$13ee474454c1948e)(page);
920
+ this.form = new (0, $4baf6ba7e224a0ed$export$13ee474454c1948e)(page.locator(".Pane.vertical.Pane2"), page);
859
921
  this.tab = new (0, $f6d52f442cf07ec8$export$3e41faf802a29e71)(page);
860
922
  this.util = new (0, $85032414fe55e0f1$export$7db63d2c950874b5)(this, page);
861
- this.modal = new (0, $9a8685efb2ff62b1$export$bd6452a745ffdb18)(page);
923
+ this.modal = new (0, $9a8685efb2ff62b1$export$bd6452a745ffdb18)(page.locator(".xl-react-modal-open"), page);
862
924
  this.commonUtil = new (0, $0ced90cc8a4c42e6$export$5a20f96f6e2d29e9)(page);
863
- this.appForm = new (0, $6cefee8b9be33b2d$export$60413e28724d3abd)(page);
925
+ this.appForm = new (0, $6cefee8b9be33b2d$export$60413e28724d3abd)(page.locator(".Pane.vertical.Pane2"), page);
864
926
  }
865
927
  }
866
928
 
@@ -884,8 +946,8 @@ class $736a7a3b2d786796$export$36d69433c4f81145 extends (0, $7d546dcaafadc158$ex
884
946
 
885
947
 
886
948
  class $07a0aa0673096895$export$855563f8bdb36207 extends (0, $9f5bc0f6324fb5ea$export$a7fed597f4b8afd8) {
887
- constructor(page){
888
- super(page.locator(".dip-view-body"));
949
+ constructor(parentLocator, page){
950
+ super(parentLocator, page.locator(".dip-view-body"));
889
951
  this.page = page;
890
952
  this.inputName = page.locator('input[name="name"]');
891
953
  this.inputLatestVersion = page.locator('input[name="lastVersion"]');
@@ -1018,11 +1080,11 @@ class $c4efd1bbc33bdc4e$export$8ef81de2d4ebb0b9 extends (0, $7d546dcaafadc158$ex
1018
1080
  constructor(page){
1019
1081
  super(page);
1020
1082
  this.contextMenu = new (0, $6d0b1fc17db4a5fb$export$133beb65adbc45a3)(page);
1021
- this.form = new (0, $4baf6ba7e224a0ed$export$13ee474454c1948e)(page);
1083
+ this.form = new (0, $4baf6ba7e224a0ed$export$13ee474454c1948e)(page.locator(".Pane.vertical.Pane2"), page);
1022
1084
  this.tab = new (0, $f6d52f442cf07ec8$export$3e41faf802a29e71)(page);
1023
- this.modal = new (0, $9a8685efb2ff62b1$export$bd6452a745ffdb18)(page);
1085
+ this.modal = new (0, $9a8685efb2ff62b1$export$bd6452a745ffdb18)(page.locator(".xl-react-modal-open"), page);
1024
1086
  this.commonUtil = new (0, $0ced90cc8a4c42e6$export$5a20f96f6e2d29e9)(page);
1025
- this.configForm = new (0, $07a0aa0673096895$export$855563f8bdb36207)(page);
1087
+ this.configForm = new (0, $07a0aa0673096895$export$855563f8bdb36207)(page.locator(".Pane.vertical.Pane2"), page);
1026
1088
  this.util = new (0, $e0ba9f6e7147a59d$export$ad55ec59bf82c4fc)(this, page);
1027
1089
  }
1028
1090
  }
@@ -1037,8 +1099,8 @@ class $c4efd1bbc33bdc4e$export$8ef81de2d4ebb0b9 extends (0, $7d546dcaafadc158$ex
1037
1099
 
1038
1100
 
1039
1101
  class $6bd08aebb33e3379$export$21cde1e6a73cf500 extends (0, $9f5bc0f6324fb5ea$export$a7fed597f4b8afd8) {
1040
- constructor(page){
1041
- super(page.locator(".dip-view-body"));
1102
+ constructor(parentLocator, page){
1103
+ super(parentLocator, page.locator(".dip-view-body"));
1042
1104
  this.page = page;
1043
1105
  this.formSection = page.locator(".xl-react-components.xl-react-dip-dynamic-form");
1044
1106
  this.inputName = page.locator('input[name="name"]');
@@ -1132,11 +1194,11 @@ class $5a95c11425d050d8$export$2c95c5c5be4fb9b0 extends (0, $7d546dcaafadc158$ex
1132
1194
  constructor(page){
1133
1195
  super(page);
1134
1196
  this.contextMenu = new (0, $6d0b1fc17db4a5fb$export$133beb65adbc45a3)(page);
1135
- this.form = new (0, $4baf6ba7e224a0ed$export$13ee474454c1948e)(page);
1197
+ this.form = new (0, $4baf6ba7e224a0ed$export$13ee474454c1948e)(page.locator(".Pane.vertical.Pane2"), page);
1136
1198
  this.tab = new (0, $f6d52f442cf07ec8$export$3e41faf802a29e71)(page);
1137
- this.modal = new (0, $9a8685efb2ff62b1$export$bd6452a745ffdb18)(page);
1199
+ this.modal = new (0, $9a8685efb2ff62b1$export$bd6452a745ffdb18)(page.locator(".xl-react-modal-open"), page);
1138
1200
  this.commonUtil = new (0, $0ced90cc8a4c42e6$export$5a20f96f6e2d29e9)(page);
1139
- this.envForm = new (0, $6bd08aebb33e3379$export$21cde1e6a73cf500)(page);
1201
+ this.envForm = new (0, $6bd08aebb33e3379$export$21cde1e6a73cf500)(page.locator(".xl-react-modal-open"), page);
1140
1202
  this.util = new (0, $31f14a5153b274ab$export$b8a8d62f66d27fa1)(this, page);
1141
1203
  }
1142
1204
  }
@@ -1152,9 +1214,9 @@ class $bf1ec3be2f174e87$export$1f6beddb119e759b extends (0, $7d546dcaafadc158$ex
1152
1214
  constructor(page){
1153
1215
  super(page);
1154
1216
  this.contextMenu = new (0, $6d0b1fc17db4a5fb$export$133beb65adbc45a3)(page);
1155
- this.form = new (0, $4baf6ba7e224a0ed$export$13ee474454c1948e)(page);
1217
+ this.form = new (0, $4baf6ba7e224a0ed$export$13ee474454c1948e)(page.locator(".Pane.vertical.Pane2"), page);
1156
1218
  this.tab = new (0, $f6d52f442cf07ec8$export$3e41faf802a29e71)(page);
1157
- this.modal = new (0, $9a8685efb2ff62b1$export$bd6452a745ffdb18)(page);
1219
+ this.modal = new (0, $9a8685efb2ff62b1$export$bd6452a745ffdb18)(page.locator(".xl-react-modal-open"), page);
1158
1220
  this.commonUtil = new (0, $0ced90cc8a4c42e6$export$5a20f96f6e2d29e9)(page);
1159
1221
  }
1160
1222
  }