@digital-ai/devops-page-object-deploy 0.0.2 → 0.0.3

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
@@ -1,13 +1,14 @@
1
- import {test as $lE6ZQ$test} from "@playwright/test";
1
+ import {test as $lE6ZQ$test, expect as $lE6ZQ$expect} from "@playwright/test";
2
+ import {split as $lE6ZQ$split, join as $lE6ZQ$join, take as $lE6ZQ$take} from "rambda";
2
3
 
3
4
  class $b464119f5ec5aad0$export$6e2c8f0811a474ce {
4
5
  constructor(sectionRootLocator){
5
6
  this.sectionRoot = sectionRootLocator;
6
7
  }
7
8
  /**
8
- * Get child element in the section "this.sectionRoot" refers to
9
- * @param childElementLocator
10
- */ findElementInSection(childElementLocator) {
9
+ * Get child element in the section "this.sectionRoot" refers to
10
+ * @param childElementLocator
11
+ */ findElementInSection(childElementLocator) {
11
12
  return this.sectionRoot.locator(childElementLocator);
12
13
  }
13
14
  }
@@ -19,8 +20,8 @@ class $66de4f08dadae772$export$cc4f63927c41742f extends (0, $b464119f5ec5aad0$ex
19
20
  super(page.getByTestId("primaryNav"));
20
21
  }
21
22
  /**
22
- * Click on side navigation links
23
- */ async clickSideLink(sideLinkLocator) {
23
+ * Click on side navigation links
24
+ */ async clickSideLink(sideLinkLocator) {
24
25
  await this.sectionRoot.locator(sideLinkLocator).click();
25
26
  }
26
27
  }
@@ -42,59 +43,59 @@ class $26d8c96bf2341a59$export$110709f040143804 extends (0, $66de4f08dadae772$ex
42
43
  this.expandButtonLocator = page.locator("span[title='Expand']");
43
44
  }
44
45
  /**
45
- * Click on go back button on side naviation links
46
- */ async goBack() {
46
+ * Click on go back button on side naviation links
47
+ */ async goBack() {
47
48
  await this.backButtonLocator.waitFor();
48
49
  await this.backButtonLocator.click();
49
50
  }
50
51
  /**
51
- * Click on Explorer from left panel
52
- */ async clickExplorer() {
52
+ * Click on Explorer from left panel
53
+ */ async clickExplorer() {
53
54
  await this.clickSideLink(this.linkExploreLocator);
54
55
  }
55
56
  /**
56
- * Click on Compare from left panel
57
- */ async clickCompare() {
57
+ * Click on Compare from left panel
58
+ */ async clickCompare() {
58
59
  await this.clickSideLink(this.linkCompareLocator);
59
60
  }
60
61
  /**
61
- * Click on Reports from left panel
62
- */ async clickReports() {
62
+ * Click on Reports from left panel
63
+ */ async clickReports() {
63
64
  await this.clickSideLink(this.linkReportsLocator);
64
65
  }
65
66
  /**
66
- * Click on Rules and Macros from left panel
67
- */ async clickRulesAndMacros() {
67
+ * Click on Rules and Macros from left panel
68
+ */ async clickRulesAndMacros() {
68
69
  await this.clickSideLink(this.linkRulesAndMacrosLocator);
69
70
  }
70
71
  /**
71
- * Click on Gitops from left panel
72
- */ async clickGitOps() {
72
+ * Click on Gitops from left panel
73
+ */ async clickGitOps() {
73
74
  await this.clickSideLink(this.linkGitOps);
74
75
  }
75
76
  /**
76
- * Click on Local sources from left panel
77
- */ async clickLocalSources() {
77
+ * Click on Local sources from left panel
78
+ */ async clickLocalSources() {
78
79
  await this.clickSideLink(this.linkLocalSource);
79
80
  }
80
81
  /**
81
- * Click on Plugins from left panel
82
- */ async clickPlugins() {
82
+ * Click on Plugins from left panel
83
+ */ async clickPlugins() {
83
84
  await this.clickSideLink(this.linkPlugins);
84
85
  }
85
86
  /**
86
- * Click on User Managements from left panel
87
- */ async clickUserManagement() {
87
+ * Click on User Managements from left panel
88
+ */ async clickUserManagement() {
88
89
  await this.clickSideLink(this.linkUserManagement);
89
90
  }
90
91
  /**
91
- * Click on Collapse button from left panel
92
- */ async clickCollapse() {
92
+ * Click on Collapse button from left panel
93
+ */ async clickCollapse() {
93
94
  await this.clickSideLink(this.collapseButtonLocator);
94
95
  }
95
96
  /**
96
- * Click on Expand from left panel
97
- */ async clickExpand() {
97
+ * Click on Expand from left panel
98
+ */ async clickExpand() {
98
99
  await this.clickSideLink(this.expandButtonLocator);
99
100
  }
100
101
  }
@@ -120,38 +121,50 @@ class $5dbb03b38de032e2$export$7c6e2c02157bb7d2 extends (0, $b464119f5ec5aad0$ex
120
121
 
121
122
  class $54bcd1bcf08dd053$export$d9b273488cd8ce6f extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
122
123
  /**
123
- *
124
- * @param menuContentRootLocator menu content root locator
125
- * @param menuLinkLocator Menu link locator thats used to open/close the menu
126
- * @param menuItemsParentLocator Menu items that opens up when menu link is clicked
127
- */ constructor(menuContentRootLocator, menuLinkLocator, menuItemsParentLocator){
124
+ *
125
+ * @param menuContentRootLocator menu content root locator
126
+ * @param menuLinkLocator Menu link locator thats used to open/close the menu
127
+ * @param menuItemsParentLocator Menu items that opens up when menu link is clicked
128
+ */ constructor(menuContentRootLocator, menuLinkLocator, menuItemsParentLocator){
128
129
  super(menuContentRootLocator);
129
130
  this.menuLinkLocator = menuLinkLocator;
130
131
  this.menuItemsParentLocator = menuContentRootLocator.locator(menuItemsParentLocator);
131
132
  }
132
133
  /**
133
- * Click on a menu item
134
- * @param menuItemLocator
135
- */ async clickMenuItem(menuItemLocator) {
134
+ * Click on a menu item
135
+ * @param menuItemLocator
136
+ */ async clickMenuItem(menuItemLocator) {
136
137
  if (!await this.menuItemsParentLocator.locator(menuItemLocator).isVisible()) await this.menuLinkLocator.click();
137
138
  return await this.menuItemsParentLocator.locator(menuItemLocator).click();
138
139
  }
139
140
  /**
140
- * Close a menu item
141
- */ async close() {
141
+ * Close a menu item
142
+ */ async close() {
142
143
  await this.menuLinkLocator.click();
143
144
  }
144
145
  /**
145
- * Note : Support only one level of menu items not being open iow if the link to click
146
- * @param mouseOverLocator
147
- * @param menuItemLocator
148
- */ async hoverFlyoutAndClickMenuItem(mouseOverLocator, menuItemLocator) {
146
+ * Note : Support only one level of menu items not being open iow if the link to click
147
+ * @param mouseOverLocator
148
+ * @param menuItemLocator
149
+ */ async hoverFlyoutAndClickMenuItem(mouseOverLocator, menuItemLocator) {
149
150
  if (!await this.menuItemsParentLocator.locator(menuItemLocator).isVisible()) {
150
151
  await mouseOverLocator.hover();
151
152
  await this.menuLinkLocator.click();
152
153
  }
153
154
  await menuItemLocator.click();
154
155
  }
156
+ /**
157
+ * Open contextual menu dots of ci to work with contextual-menu items.
158
+ */ async openContextualMenuDots() {
159
+ await this.menuLinkLocator.click();
160
+ }
161
+ /**
162
+ * Find exact menu locators using menu parent locators.
163
+ * @param childElementLocator
164
+ * @returns
165
+ */ async findElementInMenu(childElementLocator) {
166
+ return this.menuItemsParentLocator.locator(childElementLocator);
167
+ }
155
168
  }
156
169
 
157
170
 
@@ -165,28 +178,28 @@ class $b4bd429df4806013$export$5929c05a25eed48f extends (0, $54bcd1bcf08dd053$ex
165
178
  this.getDataForSupport = page.locator('a[title="Get data for support"]');
166
179
  }
167
180
  /**
168
- * Click on online Documentation menu option
169
- */ async clickOnlineDocumentation() {
181
+ * Click on online Documentation menu option
182
+ */ async clickOnlineDocumentation() {
170
183
  await this.clickMenuItem(this.onlineDoc);
171
184
  }
172
185
  /**
173
- * Click on menu option
174
- */ async clickSupportRequest() {
186
+ * Click on menu option
187
+ */ async clickSupportRequest() {
175
188
  await this.clickMenuItem(this.supportRequest);
176
189
  }
177
190
  /**
178
- * Click on Digital.ai website menu option
179
- */ async clickOfficialWebsite() {
191
+ * Click on Digital.ai website menu option
192
+ */ async clickOfficialWebsite() {
180
193
  await this.clickMenuItem(this.website);
181
194
  }
182
195
  /**
183
- * Click on usage matrix menu option
184
- */ async clickUsageMatrix() {
196
+ * Click on usage matrix menu option
197
+ */ async clickUsageMatrix() {
185
198
  await this.clickMenuItem(this.usageMatrix);
186
199
  }
187
200
  /**
188
- * Click on Get data for support menu option
189
- */ async clickGetDataForSupport() {
201
+ * Click on Get data for support menu option
202
+ */ async clickGetDataForSupport() {
190
203
  await this.clickMenuItem(this.getDataForSupport);
191
204
  }
192
205
  }
@@ -219,33 +232,33 @@ class $e05e449fbf3516f1$export$1d7840d5cdc861d5 extends (0, $54bcd1bcf08dd053$ex
219
232
  this.systemInformation = page.getByTitle("System information");
220
233
  }
221
234
  /**
222
- * Click on settings menu option
223
- */ async clickSettings() {
235
+ * Click on settings menu option
236
+ */ async clickSettings() {
224
237
  await this.clickMenuItem(this.settings);
225
238
  }
226
239
  /**
227
- * Click on renew license menu option
228
- */ async clickRenewLicense() {
240
+ * Click on renew license menu option
241
+ */ async clickRenewLicense() {
229
242
  await this.clickMenuItem(this.renewLicense);
230
243
  }
231
244
  /**
232
- * Click on view as menu option
233
- */ async clickViewAs() {
245
+ * Click on view as menu option
246
+ */ async clickViewAs() {
234
247
  await this.clickMenuItem(this.viewAs);
235
248
  }
236
249
  /**
237
- * Click on maintenance mode menu option
238
- */ async clickMaintenanceMode() {
250
+ * Click on maintenance mode menu option
251
+ */ async clickMaintenanceMode() {
239
252
  await this.clickMenuItem(this.maintenanceMode);
240
253
  }
241
254
  /**
242
- * Click on About menu option
243
- */ async clickAbout() {
255
+ * Click on About menu option
256
+ */ async clickAbout() {
244
257
  await this.clickMenuItem(this.about);
245
258
  }
246
259
  /**
247
- * Click on System information menu option
248
- */ async clickSystemInfo() {
260
+ * Click on System information menu option
261
+ */ async clickSystemInfo() {
249
262
  await this.clickMenuItem(this.systemInformation);
250
263
  }
251
264
  }
@@ -315,14 +328,266 @@ class $c2c31ea6199a3576$export$f14c0e3f98d164c0 extends (0, $7d546dcaafadc158$ex
315
328
 
316
329
  class $b6dcf2a94c3ae3f4$export$b477143f7ffae077 extends (0, $54bcd1bcf08dd053$export$d9b273488cd8ce6f) {
317
330
  constructor(page){
318
- super(page.locator("#context-menu-popover"), page.locator('.infinite-tree-closed.context-menu-button.pull-right[data-id="Applications"]'), page.locator(".dropdown-menu.multi-level.dropdown-menu-0"));
319
- this.mouseOverLocator = page.locator('css=[data-path=".1"]');
331
+ super(page.locator("#context-menu-popover"), page.locator("i[data-id=Applications].context-menu-button"), page.locator(".dropdown-menu.multi-level.dropdown-menu-0"));
332
+ this.page = page;
320
333
  this.newlinkLocator = page.getByRole("link", {
321
- name: "New"
334
+ name: "New",
335
+ exact: true
322
336
  });
337
+ this.importlinkLocator = page.getByRole("link", {
338
+ name: "Import",
339
+ exact: true
340
+ });
341
+ this.applicationLocator = page.locator('div[data-id="Applications"]');
342
+ this.deleteLinkLocator = page.getByRole("link", {
343
+ name: "Delete",
344
+ exact: true
345
+ });
346
+ }
347
+ /**
348
+ * Click on application CI in contextual-menu option.
349
+ */ async clickApplicationCi() {
350
+ await this.applicationLocator.click();
351
+ await this.openContextualMenuDots();
352
+ }
353
+ /**
354
+ * Click on menu items from contextual-menu option using path navigation option
355
+ * @param path: Provide menu navigation path using array
356
+ * eg: ['new','Application'] -> to click on menu to create new application
357
+ */ async clickMenuPath(path) {
358
+ const count = path.length - 1;
359
+ for(let i = 0; i < count; i++)await this.page.getByRole("link", {
360
+ name: "" + path[i] + ""
361
+ }).click();
362
+ await this.page.locator('.popover-content li[data-path="' + path.join("->") + '"]').click();
323
363
  }
324
- async createNewApplicationDirectory() {
325
- await this.hoverFlyoutAndClickMenuItem(this.mouseOverLocator, this.newlinkLocator);
364
+ }
365
+
366
+
367
+
368
+
369
+ class $9f5bc0f6324fb5ea$export$a7fed597f4b8afd8 extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
370
+ constructor(mainContentRootLocator){
371
+ super(mainContentRootLocator);
372
+ }
373
+ async fillTextInput(textInput, textValue) {
374
+ await textInput.clear();
375
+ await textInput.fill(textValue);
376
+ }
377
+ }
378
+
379
+
380
+ class $6cefee8b9be33b2d$export$60413e28724d3abd extends (0, $9f5bc0f6324fb5ea$export$a7fed597f4b8afd8) {
381
+ constructor(page){
382
+ super(page.locator(".dip-view-body"));
383
+ this.page = page;
384
+ this.inputName = page.locator('input[name="name"]');
385
+ this.inputLatestVersion = page.locator('input[name="lastVersion"]');
386
+ this.saveButton = page.getByRole("button", {
387
+ name: "Save",
388
+ exact: true
389
+ });
390
+ this.saveAndCloseButton = page.getByRole("button", {
391
+ name: "Save and close",
392
+ exact: true
393
+ });
394
+ this.cancelButton = page.getByRole("button", {
395
+ name: "Cancel",
396
+ exact: true
397
+ });
398
+ }
399
+ /**
400
+ * Enter name in name field of the application form
401
+ * @param name
402
+ * @returns
403
+ */ async enterName(name) {
404
+ return await this.findElementInSection(this.inputName).fill(name);
405
+ }
406
+ /**
407
+ * Enter latest version field
408
+ * @param version
409
+ * @returns
410
+ */ async enterLatestVersion(version) {
411
+ return await this.findElementInSection(this.inputLatestVersion).fill(version);
412
+ }
413
+ /**
414
+ * Click save button
415
+ * @returns
416
+ */ async clickSave() {
417
+ return await this.findElementInSection(this.saveButton).click();
418
+ }
419
+ /**
420
+ * Click save and close button
421
+ * @returns
422
+ */ async clickSaveAndClose() {
423
+ return await this.findElementInSection(this.saveAndCloseButton).click();
424
+ }
425
+ /**
426
+ * Click cancel button
427
+ * @returns
428
+ */ async clickCancel() {
429
+ return await this.findElementInSection(this.cancelButton).click();
430
+ }
431
+ /**
432
+ * Expecting save button is disabled
433
+ * @returns
434
+ */ async assertSaveButtonIsDisabled() {
435
+ return await (0, $lE6ZQ$expect)(this.findElementInSection(this.saveButton)).toBeDisabled();
436
+ }
437
+ /**
438
+ * Expecting Save and close button is disabled
439
+ * @returns
440
+ */ async assertSaveAndCloseButtonIsDisabled() {
441
+ return await (0, $lE6ZQ$expect)(this.findElementInSection(this.saveAndCloseButton)).toBeDisabled();
442
+ }
443
+ }
444
+
445
+
446
+
447
+ class $85032414fe55e0f1$export$7db63d2c950874b5 {
448
+ constructor(page1, page){
449
+ this.applicationPage = page1;
450
+ this.page = page;
451
+ }
452
+ /**
453
+ * Create New directory under applications CI.
454
+ * @param appDirectoryName
455
+ * @param expectedCiType
456
+ */ async createNewApplicationDirectory(appDirectoryName, expectedCiType) {
457
+ await this.applicationPage.appMenu.clickApplicationCi();
458
+ await this.applicationPage.appMenu.clickMenuPath([
459
+ "new",
460
+ "directory"
461
+ ]);
462
+ await this.applicationPage.appForm.assertSaveButtonIsDisabled();
463
+ await this.applicationPage.appForm.assertSaveAndCloseButtonIsDisabled();
464
+ await this.applicationPage.appForm.enterName(appDirectoryName);
465
+ await this.applicationPage.tab.assertActiveTabSelector(expectedCiType);
466
+ await this.applicationPage.appForm.clickSaveAndClose();
467
+ }
468
+ /**
469
+ * Create new application under Application ci
470
+ * @param appName
471
+ * @param expectedCiType
472
+ */ async createNewApplication(appName, expectedCiType) {
473
+ await this.applicationPage.appMenu.clickApplicationCi();
474
+ await this.applicationPage.appMenu.clickMenuPath([
475
+ "new",
476
+ "application"
477
+ ]);
478
+ await this.applicationPage.appForm.assertSaveButtonIsDisabled();
479
+ await this.applicationPage.appForm.assertSaveAndCloseButtonIsDisabled();
480
+ await this.applicationPage.appForm.enterName(appName);
481
+ await this.applicationPage.appForm.clickSaveAndClose();
482
+ await this.applicationPage.tab.assertActiveTabSelector(expectedCiType);
483
+ }
484
+ /**
485
+ * TODO: It is half done just to check on menu path other than new. Need to create as per scenario.
486
+ */ async createFromFileImport() {
487
+ await this.applicationPage.appMenu.clickApplicationCi();
488
+ await this.applicationPage.appMenu.clickMenuPath([
489
+ "import",
490
+ "fromComputer"
491
+ ]);
492
+ }
493
+ /**
494
+ * Create new ci (application, package) under applications by providing following parameters.
495
+ * @param parentNodeId
496
+ * @param menuPath
497
+ * @param expectedCiType
498
+ * @param appName
499
+ */ async createNewCi(parentNodeId, menuPath, appName) {
500
+ await this.expandNodePath(parentNodeId);
501
+ await this.page.locator('div[data-id="' + parentNodeId + '"]').click();
502
+ await this.page.locator('i[data-id="' + parentNodeId + '"].context-menu-button').click();
503
+ await this.applicationPage.appMenu.clickMenuPath(menuPath);
504
+ await this.applicationPage.appForm.assertSaveButtonIsDisabled();
505
+ await this.applicationPage.appForm.assertSaveAndCloseButtonIsDisabled();
506
+ await this.applicationPage.tab.assertActiveTabSelector("Create udm." + menuPath[1] + "");
507
+ await this.applicationPage.appForm.enterName(appName);
508
+ await this.applicationPage.appForm.clickSaveAndClose();
509
+ }
510
+ /**
511
+ * Expand the ci path tree toggler.
512
+ * @param pathnode
513
+ */ async expandNode(pathnode) {
514
+ if (await this.page.locator('div[data-id="' + pathnode + '"] a.infinite-tree-toggler.infinite-tree-closed').isVisible()) await this.page.locator('div[data-id="' + pathnode + '"] a').click();
515
+ }
516
+ /**
517
+ * expands the path of CI by separating path from "/"
518
+ * @param parentNodeId
519
+ */ async expandNodePath(parentNodeId) {
520
+ const nodeIdParts = $lE6ZQ$split("/", parentNodeId);
521
+ for(let ind = 0; ind < nodeIdParts.length; ind += 1){
522
+ const path = $lE6ZQ$join("/", $lE6ZQ$take(ind + 1, nodeIdParts));
523
+ this.expandNode(path);
524
+ }
525
+ }
526
+ /**
527
+ * Collapse the tree toggler of ci path.
528
+ * @param parentNodeId
529
+ */ async collapseNode(parentNodeId) {
530
+ if (await this.page.locator('div[data-id="' + parentNodeId + '"] a.infinite-tree-toggler.infinite-tree-closed').isHidden()) await this.page.locator('div[data-id="' + parentNodeId + '"] a').click();
531
+ }
532
+ /**
533
+ * Delete the ci
534
+ * @param node
535
+ */ async deleteCi(node) {
536
+ await this.page.locator('div[data-id="' + node + '"]').click();
537
+ await this.page.locator('i[data-id="' + node + '"].context-menu-button').click();
538
+ await this.applicationPage.appMenu.clickMenuPath([
539
+ "delete"
540
+ ]);
541
+ await this.applicationPage.appModal.clickDelete();
542
+ }
543
+ }
544
+
545
+
546
+
547
+
548
+ class $f6d52f442cf07ec8$export$3e41faf802a29e71 extends (0, $7d546dcaafadc158$export$2b65d1d97338f32b) {
549
+ constructor(page){
550
+ super(page);
551
+ this.page = page;
552
+ this.parentTabLocator = this.page.locator(".working-panel-section .xl-react-tab-system");
553
+ this.getTabTitleLocator = this.page.locator("li.active .tab-title");
554
+ }
555
+ async assertActiveTabSelector(expectedCiType) {
556
+ return await (0, $lE6ZQ$expect)(this.parentTabLocator.locator("li.active .tab-title")).toHaveText(expectedCiType, {
557
+ ignoreCase: true
558
+ });
559
+ }
560
+ }
561
+
562
+
563
+
564
+ class $1f57a739e2592b82$export$2b77a92f1a5ad772 extends (0, $b464119f5ec5aad0$export$6e2c8f0811a474ce) {
565
+ constructor(page){
566
+ super(page.locator(".xl-react-modal-content"));
567
+ this.header = page.locator(".modal-header");
568
+ this.body = page.locator(".modal-body");
569
+ this.footer = page.locator(".modal-footer");
570
+ }
571
+ }
572
+
573
+
574
+ class $a2f3076183e2964c$export$51360b6aa3a7b134 extends (0, $1f57a739e2592b82$export$2b77a92f1a5ad772) {
575
+ constructor(page){
576
+ super(page);
577
+ this.deleteButton = page.getByRole("button", {
578
+ name: "Delete",
579
+ exact: true
580
+ });
581
+ this.cancelButton = page.getByRole("button", {
582
+ name: "Cancel",
583
+ exact: true
584
+ });
585
+ }
586
+ async clickDelete() {
587
+ await this.footer.locator(this.deleteButton).click();
588
+ }
589
+ async clickCancel() {
590
+ await this.footer.locator(this.cancelButton).click();
326
591
  }
327
592
  }
328
593
 
@@ -331,6 +596,10 @@ class $4e7e9f7ca5788871$export$bf4a5dd3be690f6b extends (0, $7d546dcaafadc158$ex
331
596
  constructor(page){
332
597
  super(page);
333
598
  this.appMenu = new (0, $b6dcf2a94c3ae3f4$export$b477143f7ffae077)(page);
599
+ this.appForm = new (0, $6cefee8b9be33b2d$export$60413e28724d3abd)(page);
600
+ this.tab = new (0, $f6d52f442cf07ec8$export$3e41faf802a29e71)(page);
601
+ this.util = new (0, $85032414fe55e0f1$export$7db63d2c950874b5)(this, page);
602
+ this.appModal = new (0, $a2f3076183e2964c$export$51360b6aa3a7b134)(page);
334
603
  }
335
604
  }
336
605
 
@@ -344,6 +613,7 @@ class $736a7a3b2d786796$export$36d69433c4f81145 extends (0, $7d546dcaafadc158$ex
344
613
  }
345
614
 
346
615
 
616
+
347
617
  const $114b0b206b8d644f$export$e0969da9b8fb378d = (0, $lE6ZQ$test).extend({
348
618
  loginPage: async ({ page: page }, use)=>{
349
619
  // Set up the fixture.
@@ -360,6 +630,11 @@ const $114b0b206b8d644f$export$e0969da9b8fb378d = (0, $lE6ZQ$test).extend({
360
630
  const applicationPage = new (0, $4e7e9f7ca5788871$export$bf4a5dd3be690f6b)(page);
361
631
  await use(applicationPage);
362
632
  return applicationPage;
633
+ },
634
+ tab: async ({ page: page }, use)=>{
635
+ const tab = new (0, $f6d52f442cf07ec8$export$3e41faf802a29e71)(page);
636
+ await use(tab);
637
+ return tab;
363
638
  }
364
639
  });
365
640