@camunda/e2e-test-suite 0.0.273 → 0.0.275
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.d.ts +2 -0
- package/dist/pages/8.10/OperateProcessesPage.js +10 -1
- package/dist/pages/8.8/OperateProcessesPage.d.ts +2 -0
- package/dist/pages/8.8/OperateProcessesPage.js +10 -1
- package/dist/pages/8.9/ClusterDetailsPage.js +1 -1
- package/dist/pages/8.9/OperateProcessesPage.d.ts +2 -0
- package/dist/pages/8.9/OperateProcessesPage.js +10 -1
- package/dist/pages/SM-8.10/OperateProcessesPage.d.ts +2 -0
- package/dist/pages/SM-8.10/OperateProcessesPage.js +10 -1
- package/dist/pages/SM-8.9/OperateProcessesPage.d.ts +2 -0
- package/dist/pages/SM-8.9/OperateProcessesPage.js +10 -1
- package/package.json +1 -1
|
@@ -12,6 +12,8 @@ declare class OperateProcessesPage {
|
|
|
12
12
|
readonly processInstanceLink: (name: string) => Locator;
|
|
13
13
|
readonly moreFiltersButton: Locator;
|
|
14
14
|
readonly processInstanceKeyTextBox: Locator;
|
|
15
|
+
private readonly whatsNewPopUp;
|
|
16
|
+
private readonly gotItButton;
|
|
15
17
|
constructor(page: Page);
|
|
16
18
|
private getMoreFilterValueLocator;
|
|
17
19
|
clickProcessActiveCheckbox(): Promise<void>;
|
|
@@ -16,6 +16,8 @@ class OperateProcessesPage {
|
|
|
16
16
|
processInstanceLink;
|
|
17
17
|
moreFiltersButton;
|
|
18
18
|
processInstanceKeyTextBox;
|
|
19
|
+
whatsNewPopUp;
|
|
20
|
+
gotItButton;
|
|
19
21
|
constructor(page) {
|
|
20
22
|
this.page = page;
|
|
21
23
|
this.processResultCount = page.getByTestId('result-count');
|
|
@@ -44,7 +46,11 @@ class OperateProcessesPage {
|
|
|
44
46
|
.getByTestId('filter-finished-instances')
|
|
45
47
|
.getByRole('checkbox');
|
|
46
48
|
this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
|
|
47
|
-
this.processInstanceKeyTextBox = page.locator('#
|
|
49
|
+
this.processInstanceKeyTextBox = page.locator('#processInstanceKey');
|
|
50
|
+
this.whatsNewPopUp = page.getByRole('heading', {
|
|
51
|
+
name: "Here's what moved in Operate",
|
|
52
|
+
});
|
|
53
|
+
this.gotItButton = page.getByRole('button', { name: 'Got it' });
|
|
48
54
|
}
|
|
49
55
|
getMoreFilterValueLocator(filter) {
|
|
50
56
|
switch (filter.trim()) {
|
|
@@ -81,6 +87,9 @@ class OperateProcessesPage {
|
|
|
81
87
|
await (0, test_1.expect)(this.page.getByText('Instance History').first()).toBeVisible({
|
|
82
88
|
timeout: 10000,
|
|
83
89
|
});
|
|
90
|
+
if (await this.whatsNewPopUp.isVisible()) {
|
|
91
|
+
await this.gotItButton.click();
|
|
92
|
+
}
|
|
84
93
|
return;
|
|
85
94
|
}
|
|
86
95
|
catch (error) {
|
|
@@ -12,6 +12,8 @@ declare class OperateProcessesPage {
|
|
|
12
12
|
readonly processInstanceLink: (name: string) => Locator;
|
|
13
13
|
readonly moreFiltersButton: Locator;
|
|
14
14
|
readonly processInstanceKeyTextBox: Locator;
|
|
15
|
+
private readonly whatsNewPopUp;
|
|
16
|
+
private readonly gotItButton;
|
|
15
17
|
constructor(page: Page);
|
|
16
18
|
private getMoreFilterValueLocator;
|
|
17
19
|
clickProcessActiveCheckbox(): Promise<void>;
|
|
@@ -16,6 +16,8 @@ class OperateProcessesPage {
|
|
|
16
16
|
processInstanceLink;
|
|
17
17
|
moreFiltersButton;
|
|
18
18
|
processInstanceKeyTextBox;
|
|
19
|
+
whatsNewPopUp;
|
|
20
|
+
gotItButton;
|
|
19
21
|
constructor(page) {
|
|
20
22
|
this.page = page;
|
|
21
23
|
this.processResultCount = page.getByTestId('result-count');
|
|
@@ -44,7 +46,11 @@ class OperateProcessesPage {
|
|
|
44
46
|
.getByTestId('filter-finished-instances')
|
|
45
47
|
.getByRole('checkbox');
|
|
46
48
|
this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
|
|
47
|
-
this.processInstanceKeyTextBox = page.locator('#
|
|
49
|
+
this.processInstanceKeyTextBox = page.locator('#processInstanceKey');
|
|
50
|
+
this.whatsNewPopUp = page.getByRole('heading', {
|
|
51
|
+
name: "Here's what moved in Operate",
|
|
52
|
+
});
|
|
53
|
+
this.gotItButton = page.getByRole('button', { name: 'Got it' });
|
|
48
54
|
}
|
|
49
55
|
getMoreFilterValueLocator(filter) {
|
|
50
56
|
switch (filter.trim()) {
|
|
@@ -81,6 +87,9 @@ class OperateProcessesPage {
|
|
|
81
87
|
await (0, test_1.expect)(this.page.getByText('Instance History').first()).toBeVisible({
|
|
82
88
|
timeout: 10000,
|
|
83
89
|
});
|
|
90
|
+
if (await this.whatsNewPopUp.isVisible()) {
|
|
91
|
+
await this.gotItButton.click();
|
|
92
|
+
}
|
|
84
93
|
return;
|
|
85
94
|
}
|
|
86
95
|
catch (error) {
|
|
@@ -538,7 +538,7 @@ class ClusterDetailsPage {
|
|
|
538
538
|
await this.clickMCPTab();
|
|
539
539
|
const mcpConfigText = await this.getMcpConfigurationText();
|
|
540
540
|
const mcpConfig = JSON.parse(mcpConfigText);
|
|
541
|
-
const env = mcpConfig.servers.
|
|
541
|
+
const env = Object.values(mcpConfig.servers)[0].env;
|
|
542
542
|
const credentials = {
|
|
543
543
|
baseURL: env.CAMUNDA_BASE_URL,
|
|
544
544
|
clientID: env.CAMUNDA_CLIENT_ID,
|
|
@@ -12,6 +12,8 @@ declare class OperateProcessesPage {
|
|
|
12
12
|
readonly processInstanceLink: (name: string) => Locator;
|
|
13
13
|
readonly moreFiltersButton: Locator;
|
|
14
14
|
readonly processInstanceKeyTextBox: Locator;
|
|
15
|
+
private readonly whatsNewPopUp;
|
|
16
|
+
private readonly gotItButton;
|
|
15
17
|
constructor(page: Page);
|
|
16
18
|
private getMoreFilterValueLocator;
|
|
17
19
|
clickProcessActiveCheckbox(): Promise<void>;
|
|
@@ -16,6 +16,8 @@ class OperateProcessesPage {
|
|
|
16
16
|
processInstanceLink;
|
|
17
17
|
moreFiltersButton;
|
|
18
18
|
processInstanceKeyTextBox;
|
|
19
|
+
whatsNewPopUp;
|
|
20
|
+
gotItButton;
|
|
19
21
|
constructor(page) {
|
|
20
22
|
this.page = page;
|
|
21
23
|
this.processResultCount = page.getByTestId('result-count');
|
|
@@ -44,7 +46,11 @@ class OperateProcessesPage {
|
|
|
44
46
|
.getByTestId('filter-finished-instances')
|
|
45
47
|
.getByRole('checkbox');
|
|
46
48
|
this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
|
|
47
|
-
this.processInstanceKeyTextBox = page.locator('#
|
|
49
|
+
this.processInstanceKeyTextBox = page.locator('#processInstanceKey');
|
|
50
|
+
this.whatsNewPopUp = page.getByRole('heading', {
|
|
51
|
+
name: "Here's what moved in Operate",
|
|
52
|
+
});
|
|
53
|
+
this.gotItButton = page.getByRole('button', { name: 'Got it' });
|
|
48
54
|
}
|
|
49
55
|
getMoreFilterValueLocator(filter) {
|
|
50
56
|
switch (filter.trim()) {
|
|
@@ -81,6 +87,9 @@ class OperateProcessesPage {
|
|
|
81
87
|
await (0, test_1.expect)(this.page.getByText('Instance History').first()).toBeVisible({
|
|
82
88
|
timeout: 10000,
|
|
83
89
|
});
|
|
90
|
+
if (await this.whatsNewPopUp.isVisible()) {
|
|
91
|
+
await this.gotItButton.click();
|
|
92
|
+
}
|
|
84
93
|
return;
|
|
85
94
|
}
|
|
86
95
|
catch (error) {
|
|
@@ -11,6 +11,8 @@ declare class OperateProcessesPage {
|
|
|
11
11
|
readonly processFinishedInstancesCheckbox: Locator;
|
|
12
12
|
readonly moreFiltersButton: Locator;
|
|
13
13
|
readonly processInstanceKeyTextBox: Locator;
|
|
14
|
+
private readonly whatsNewPopUp;
|
|
15
|
+
private readonly gotItButton;
|
|
14
16
|
constructor(page: Page);
|
|
15
17
|
private checkCheckbox;
|
|
16
18
|
private uncheckCheckbox;
|
|
@@ -17,6 +17,8 @@ class OperateProcessesPage {
|
|
|
17
17
|
processFinishedInstancesCheckbox;
|
|
18
18
|
moreFiltersButton;
|
|
19
19
|
processInstanceKeyTextBox;
|
|
20
|
+
whatsNewPopUp;
|
|
21
|
+
gotItButton;
|
|
20
22
|
constructor(page) {
|
|
21
23
|
this.page = page;
|
|
22
24
|
this.processResultCount = page.getByTestId('result-count');
|
|
@@ -40,7 +42,11 @@ class OperateProcessesPage {
|
|
|
40
42
|
.getByTestId('filter-finished-instances')
|
|
41
43
|
.getByRole('checkbox');
|
|
42
44
|
this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
|
|
43
|
-
this.processInstanceKeyTextBox = page.locator('#
|
|
45
|
+
this.processInstanceKeyTextBox = page.locator('#processInstanceKey');
|
|
46
|
+
this.whatsNewPopUp = page.getByRole('heading', {
|
|
47
|
+
name: "Here's what moved in Operate",
|
|
48
|
+
});
|
|
49
|
+
this.gotItButton = page.getByRole('button', { name: 'Got it' });
|
|
44
50
|
}
|
|
45
51
|
async checkCheckbox(checkbox) {
|
|
46
52
|
if (!(await checkbox.isChecked())) {
|
|
@@ -103,6 +109,9 @@ class OperateProcessesPage {
|
|
|
103
109
|
await link.scrollIntoViewIfNeeded();
|
|
104
110
|
await link.click({ timeout: constants_1._100_MS * 2 });
|
|
105
111
|
await (0, test_1.expect)(this.page.getByText('Instance History').first()).toBeVisible({ timeout: constants_1._1_SECOND_IN_MS * 4 });
|
|
112
|
+
if (await this.whatsNewPopUp.isVisible()) {
|
|
113
|
+
await this.gotItButton.click();
|
|
114
|
+
}
|
|
106
115
|
return true;
|
|
107
116
|
}
|
|
108
117
|
catch (err) {
|
|
@@ -11,6 +11,8 @@ declare class OperateProcessesPage {
|
|
|
11
11
|
readonly processFinishedInstancesCheckbox: Locator;
|
|
12
12
|
readonly moreFiltersButton: Locator;
|
|
13
13
|
readonly processInstanceKeyTextBox: Locator;
|
|
14
|
+
private readonly whatsNewPopUp;
|
|
15
|
+
private readonly gotItButton;
|
|
14
16
|
constructor(page: Page);
|
|
15
17
|
private checkCheckbox;
|
|
16
18
|
private uncheckCheckbox;
|
|
@@ -17,6 +17,8 @@ class OperateProcessesPage {
|
|
|
17
17
|
processFinishedInstancesCheckbox;
|
|
18
18
|
moreFiltersButton;
|
|
19
19
|
processInstanceKeyTextBox;
|
|
20
|
+
whatsNewPopUp;
|
|
21
|
+
gotItButton;
|
|
20
22
|
constructor(page) {
|
|
21
23
|
this.page = page;
|
|
22
24
|
this.processResultCount = page.getByTestId('result-count');
|
|
@@ -40,7 +42,11 @@ class OperateProcessesPage {
|
|
|
40
42
|
.getByTestId('filter-finished-instances')
|
|
41
43
|
.getByRole('checkbox');
|
|
42
44
|
this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
|
|
43
|
-
this.processInstanceKeyTextBox = page.locator('#
|
|
45
|
+
this.processInstanceKeyTextBox = page.locator('#processInstanceKey');
|
|
46
|
+
this.whatsNewPopUp = page.getByRole('heading', {
|
|
47
|
+
name: "Here's what moved in Operate",
|
|
48
|
+
});
|
|
49
|
+
this.gotItButton = page.getByRole('button', { name: 'Got it' });
|
|
44
50
|
}
|
|
45
51
|
async checkCheckbox(checkbox) {
|
|
46
52
|
if (!(await checkbox.isChecked())) {
|
|
@@ -103,6 +109,9 @@ class OperateProcessesPage {
|
|
|
103
109
|
await link.scrollIntoViewIfNeeded();
|
|
104
110
|
await link.click({ timeout: constants_1._100_MS * 2 });
|
|
105
111
|
await (0, test_1.expect)(this.page.getByText('Instance History').first()).toBeVisible({ timeout: constants_1._1_SECOND_IN_MS * 4 });
|
|
112
|
+
if (await this.whatsNewPopUp.isVisible()) {
|
|
113
|
+
await this.gotItButton.click();
|
|
114
|
+
}
|
|
106
115
|
return true;
|
|
107
116
|
}
|
|
108
117
|
catch (err) {
|