@camunda/e2e-test-suite 0.0.276 → 0.0.278
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/pages/8.10/OperateProcessesPage.js +3 -1
- package/dist/pages/8.8/ClusterDetailsPage.js +1 -0
- package/dist/pages/8.8/OperateProcessesPage.js +3 -1
- package/dist/pages/8.9/OperateProcessesPage.js +3 -1
- package/dist/pages/SM-8.10/OperateProcessesPage.js +3 -1
- package/dist/pages/SM-8.9/OperateProcessesPage.js +3 -1
- package/dist/pages/c8Run-8.10/OperateProcessesPage.d.ts +2 -0
- package/dist/pages/c8Run-8.10/OperateProcessesPage.js +13 -0
- package/dist/pages/c8Run-8.9/OperateProcessesPage.d.ts +2 -0
- package/dist/pages/c8Run-8.9/OperateProcessesPage.js +13 -0
- package/package.json +1 -1
|
@@ -46,7 +46,9 @@ class OperateProcessesPage {
|
|
|
46
46
|
.getByTestId('filter-finished-instances')
|
|
47
47
|
.getByRole('checkbox');
|
|
48
48
|
this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
|
|
49
|
-
this.processInstanceKeyTextBox = page
|
|
49
|
+
this.processInstanceKeyTextBox = page
|
|
50
|
+
.locator('#processInstanceKey')
|
|
51
|
+
.or(page.locator('#ids'));
|
|
50
52
|
this.whatsNewPopUp = page.getByRole('heading', {
|
|
51
53
|
name: "Here's what moved in Operate",
|
|
52
54
|
});
|
|
@@ -293,6 +293,7 @@ class ClusterDetailsPage {
|
|
|
293
293
|
await (0, test_1.expect)(this.createAlertsDialog).toBeVisible();
|
|
294
294
|
await this.selectEmailRadioButton();
|
|
295
295
|
await this.clickCreateAlertButton();
|
|
296
|
+
await (0, sleep_1.sleep)(5000);
|
|
296
297
|
}
|
|
297
298
|
async selectEmailRadioButton() {
|
|
298
299
|
await (0, test_1.expect)(this.emailRadioButton).toBeVisible({ timeout: 60000 });
|
|
@@ -46,7 +46,9 @@ class OperateProcessesPage {
|
|
|
46
46
|
.getByTestId('filter-finished-instances')
|
|
47
47
|
.getByRole('checkbox');
|
|
48
48
|
this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
|
|
49
|
-
this.processInstanceKeyTextBox = page
|
|
49
|
+
this.processInstanceKeyTextBox = page
|
|
50
|
+
.locator('#processInstanceKey')
|
|
51
|
+
.or(page.locator('#ids'));
|
|
50
52
|
this.whatsNewPopUp = page.getByRole('heading', {
|
|
51
53
|
name: "Here's what moved in Operate",
|
|
52
54
|
});
|
|
@@ -46,7 +46,9 @@ class OperateProcessesPage {
|
|
|
46
46
|
.getByTestId('filter-finished-instances')
|
|
47
47
|
.getByRole('checkbox');
|
|
48
48
|
this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
|
|
49
|
-
this.processInstanceKeyTextBox = page
|
|
49
|
+
this.processInstanceKeyTextBox = page
|
|
50
|
+
.locator('#processInstanceKey')
|
|
51
|
+
.or(page.locator('#ids'));
|
|
50
52
|
this.whatsNewPopUp = page.getByRole('heading', {
|
|
51
53
|
name: "Here's what moved in Operate",
|
|
52
54
|
});
|
|
@@ -42,7 +42,9 @@ class OperateProcessesPage {
|
|
|
42
42
|
.getByTestId('filter-finished-instances')
|
|
43
43
|
.getByRole('checkbox');
|
|
44
44
|
this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
|
|
45
|
-
this.processInstanceKeyTextBox = page
|
|
45
|
+
this.processInstanceKeyTextBox = page
|
|
46
|
+
.locator('#processInstanceKey')
|
|
47
|
+
.or(page.locator('#ids'));
|
|
46
48
|
this.whatsNewPopUp = page.getByRole('heading', {
|
|
47
49
|
name: "Here's what moved in Operate",
|
|
48
50
|
});
|
|
@@ -42,7 +42,9 @@ class OperateProcessesPage {
|
|
|
42
42
|
.getByTestId('filter-finished-instances')
|
|
43
43
|
.getByRole('checkbox');
|
|
44
44
|
this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
|
|
45
|
-
this.processInstanceKeyTextBox = page
|
|
45
|
+
this.processInstanceKeyTextBox = page
|
|
46
|
+
.locator('#processInstanceKey')
|
|
47
|
+
.or(page.locator('#ids'));
|
|
46
48
|
this.whatsNewPopUp = page.getByRole('heading', {
|
|
47
49
|
name: "Here's what moved in Operate",
|
|
48
50
|
});
|
|
@@ -9,6 +9,8 @@ declare class OperateProcessesPage {
|
|
|
9
9
|
readonly processPageHeading: Locator;
|
|
10
10
|
readonly noMatchingInstancesMessage: Locator;
|
|
11
11
|
readonly processFinishedInstancesCheckbox: Locator;
|
|
12
|
+
readonly whatsNewPopUp: Locator;
|
|
13
|
+
readonly gotItButton: Locator;
|
|
12
14
|
constructor(page: Page);
|
|
13
15
|
clickProcessActiveCheckbox(): Promise<void>;
|
|
14
16
|
clickProcessCompletedCheckbox(): Promise<void>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OperateProcessesPage = void 0;
|
|
4
|
+
const test_1 = require("@playwright/test");
|
|
4
5
|
const sleep_1 = require("../../utils/sleep");
|
|
5
6
|
class OperateProcessesPage {
|
|
6
7
|
page;
|
|
@@ -12,6 +13,8 @@ class OperateProcessesPage {
|
|
|
12
13
|
processPageHeading;
|
|
13
14
|
noMatchingInstancesMessage;
|
|
14
15
|
processFinishedInstancesCheckbox;
|
|
16
|
+
whatsNewPopUp;
|
|
17
|
+
gotItButton;
|
|
15
18
|
constructor(page) {
|
|
16
19
|
this.page = page;
|
|
17
20
|
this.processResultCount = page.getByTestId('result-count');
|
|
@@ -34,6 +37,10 @@ class OperateProcessesPage {
|
|
|
34
37
|
this.processFinishedInstancesCheckbox = page
|
|
35
38
|
.getByTestId('filter-finished-instances')
|
|
36
39
|
.getByRole('checkbox');
|
|
40
|
+
this.whatsNewPopUp = page.getByRole('heading', {
|
|
41
|
+
name: "Here's what moved in Operate",
|
|
42
|
+
});
|
|
43
|
+
this.gotItButton = page.getByRole('button', { name: 'Got it' });
|
|
37
44
|
}
|
|
38
45
|
async clickProcessActiveCheckbox() {
|
|
39
46
|
await this.processActiveCheckbox.click();
|
|
@@ -68,6 +75,12 @@ class OperateProcessesPage {
|
|
|
68
75
|
.first()
|
|
69
76
|
.getByRole('link')
|
|
70
77
|
.click({ timeout: 30000 });
|
|
78
|
+
await (0, test_1.expect)(this.page.getByText('Instance History').first()).toBeVisible({
|
|
79
|
+
timeout: 10000,
|
|
80
|
+
});
|
|
81
|
+
if (await this.whatsNewPopUp.isVisible()) {
|
|
82
|
+
await this.gotItButton.click();
|
|
83
|
+
}
|
|
71
84
|
return; // Exit the function if the click is successful
|
|
72
85
|
}
|
|
73
86
|
catch (error) {
|
|
@@ -9,6 +9,8 @@ declare class OperateProcessesPage {
|
|
|
9
9
|
readonly processPageHeading: Locator;
|
|
10
10
|
readonly noMatchingInstancesMessage: Locator;
|
|
11
11
|
readonly processFinishedInstancesCheckbox: Locator;
|
|
12
|
+
readonly whatsNewPopUp: Locator;
|
|
13
|
+
readonly gotItButton: Locator;
|
|
12
14
|
constructor(page: Page);
|
|
13
15
|
clickProcessActiveCheckbox(): Promise<void>;
|
|
14
16
|
clickProcessCompletedCheckbox(): Promise<void>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OperateProcessesPage = void 0;
|
|
4
|
+
const test_1 = require("@playwright/test");
|
|
4
5
|
const sleep_1 = require("../../utils/sleep");
|
|
5
6
|
class OperateProcessesPage {
|
|
6
7
|
page;
|
|
@@ -12,6 +13,8 @@ class OperateProcessesPage {
|
|
|
12
13
|
processPageHeading;
|
|
13
14
|
noMatchingInstancesMessage;
|
|
14
15
|
processFinishedInstancesCheckbox;
|
|
16
|
+
whatsNewPopUp;
|
|
17
|
+
gotItButton;
|
|
15
18
|
constructor(page) {
|
|
16
19
|
this.page = page;
|
|
17
20
|
this.processResultCount = page.getByTestId('result-count');
|
|
@@ -34,6 +37,10 @@ class OperateProcessesPage {
|
|
|
34
37
|
this.processFinishedInstancesCheckbox = page
|
|
35
38
|
.getByTestId('filter-finished-instances')
|
|
36
39
|
.getByRole('checkbox');
|
|
40
|
+
this.whatsNewPopUp = page.getByRole('heading', {
|
|
41
|
+
name: "Here's what moved in Operate",
|
|
42
|
+
});
|
|
43
|
+
this.gotItButton = page.getByRole('button', { name: 'Got it' });
|
|
37
44
|
}
|
|
38
45
|
async clickProcessActiveCheckbox() {
|
|
39
46
|
await this.processActiveCheckbox.click();
|
|
@@ -68,6 +75,12 @@ class OperateProcessesPage {
|
|
|
68
75
|
.first()
|
|
69
76
|
.getByRole('link')
|
|
70
77
|
.click({ timeout: 30000 });
|
|
78
|
+
await (0, test_1.expect)(this.page.getByText('Instance History').first()).toBeVisible({
|
|
79
|
+
timeout: 10000,
|
|
80
|
+
});
|
|
81
|
+
if (await this.whatsNewPopUp.isVisible()) {
|
|
82
|
+
await this.gotItButton.click();
|
|
83
|
+
}
|
|
71
84
|
return; // Exit the function if the click is successful
|
|
72
85
|
}
|
|
73
86
|
catch (error) {
|