@digital-ai/devops-page-object-release 0.0.112 → 0.0.114
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/CHANGELOG.md +12 -0
- package/dist/main.js +14 -15
- package/dist/main.js.map +1 -1
- package/dist/module.js +14 -15
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @digital-ai/devops-page-object-release
|
|
2
2
|
|
|
3
|
+
## 0.0.114
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d2e3b7b: S-130720: fix wrong PW test for task page scenario
|
|
8
|
+
|
|
9
|
+
## 0.0.113
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- bde48af: S-130562: update release table tasks actions
|
|
14
|
+
|
|
3
15
|
## 0.0.112
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/main.js
CHANGED
|
@@ -4249,8 +4249,8 @@ class $c5c393ea4aecca6c$export$649fde34d823ece7 extends (0, $f8721861c660dd88$ex
|
|
|
4249
4249
|
}
|
|
4250
4250
|
async completeSelectedTasks(comment) {
|
|
4251
4251
|
await this.completeButton.click();
|
|
4252
|
-
await this.page.
|
|
4253
|
-
await this.page.locator('.
|
|
4252
|
+
await this.page.locator(`textarea[name="comment"]`).fill(comment);
|
|
4253
|
+
await this.page.locator('.dot-dialog').getByRole('button', {
|
|
4254
4254
|
name: 'Complete'
|
|
4255
4255
|
}).click();
|
|
4256
4256
|
return this;
|
|
@@ -4265,11 +4265,16 @@ class $c5c393ea4aecca6c$export$649fde34d823ece7 extends (0, $f8721861c660dd88$ex
|
|
|
4265
4265
|
'Reopen',
|
|
4266
4266
|
'Retry',
|
|
4267
4267
|
'Fail'
|
|
4268
|
-
].includes(menuItem)) await this.page.locator(
|
|
4269
|
-
|
|
4268
|
+
].includes(menuItem)) await this.page.locator(`textarea[name="comment"]`).fill('Automation Test Comment');
|
|
4269
|
+
if ([
|
|
4270
|
+
'Delete'
|
|
4271
|
+
].includes(menuItem)) await this.page.getByRole('button', {
|
|
4270
4272
|
name: menuItem,
|
|
4271
4273
|
exact: true
|
|
4272
4274
|
}).click();
|
|
4275
|
+
else await this.page.locator('.dot-dialog').getByRole('button', {
|
|
4276
|
+
name: menuItem
|
|
4277
|
+
}).click();
|
|
4273
4278
|
return this;
|
|
4274
4279
|
}
|
|
4275
4280
|
async addCommentToSelectedTask(comment) {
|
|
@@ -5257,15 +5262,9 @@ class $9b9a8c3da392d020$var$Phase extends (0, $f8721861c660dd88$export$2b65d1d97
|
|
|
5257
5262
|
}
|
|
5258
5263
|
async expectTaskFailureManualPermission() {
|
|
5259
5264
|
await this.phaseLocator.getByText('Add task').click();
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
await this.phaseLocator.getByText('Add task').click();
|
|
5264
|
-
}
|
|
5265
|
-
await this.page.getByTestId('save-select-task-btn').click();
|
|
5266
|
-
await (0, $kKeXs$playwrighttest.expect)(this.page.locator('p').filter({
|
|
5267
|
-
hasText: "You don\u2019t have permission to view this page."
|
|
5268
|
-
})).toBeVisible();
|
|
5265
|
+
await this.page.locator('#task-selector').hover();
|
|
5266
|
+
await this.page.locator('#task-selector').fill('Manual');
|
|
5267
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page.getByText('No options')).toBeVisible();
|
|
5269
5268
|
}
|
|
5270
5269
|
async expectCurrentTaskCount(count) {
|
|
5271
5270
|
(0, $kKeXs$playwrighttest.expect)(await this.phaseLocator.locator('.task.active').count()).toBe(count);
|
|
@@ -8311,8 +8310,8 @@ class $ed2d4739e27d43c1$var$GridView extends (0, $f8721861c660dd88$export$2b65d1
|
|
|
8311
8310
|
hasText: action
|
|
8312
8311
|
}).click();
|
|
8313
8312
|
if (action === 'Complete') {
|
|
8314
|
-
await this.page.locator('.
|
|
8315
|
-
await this.page.locator('.
|
|
8313
|
+
await this.page.locator('.base-comment-dialog textarea[name="comment"]').fill('complete');
|
|
8314
|
+
await this.page.locator('.base-comment-dialog button').filter({
|
|
8316
8315
|
hasText: 'Complete'
|
|
8317
8316
|
}).click();
|
|
8318
8317
|
return this;
|