@camunda/e2e-test-suite 0.0.271 → 0.0.273
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/ClusterDetailsPage.js +14 -3
- package/dist/pages/8.10/ClusterSecretsPage.js +6 -4
- package/dist/pages/8.10/ConsoleOrganizationPage.js +3 -3
- package/dist/pages/8.10/ModelerCreatePage.js +1 -1
- package/dist/pages/8.6/ClusterDetailsPage.js +16 -4
- package/dist/pages/8.6/ClusterSecretsPage.js +4 -2
- package/dist/pages/8.6/ConsoleOrganizationPage.js +3 -3
- package/dist/pages/8.6/ModelerCreatePage.js +1 -1
- package/dist/pages/8.7/ClusterDetailsPage.js +20 -5
- package/dist/pages/8.7/ConsoleOrganizationPage.js +3 -3
- package/dist/pages/8.7/ModelerCreatePage.js +1 -1
- package/dist/pages/8.8/ClusterDetailsPage.js +4 -1
- package/dist/pages/8.8/ClusterSecretsPage.js +6 -4
- package/dist/pages/8.8/ConsoleOrganizationPage.js +3 -3
- package/dist/pages/8.9/ClusterDetailsPage.js +13 -3
- package/dist/pages/8.9/ClusterSecretsPage.js +6 -4
- package/dist/pages/8.9/ConsoleOrganizationPage.js +3 -3
- package/dist/tests/8.10/connectors-user-flows.spec.js +1 -1
- package/dist/tests/8.10/test-setup.spec.js +2 -4
- package/dist/tests/8.6/connectors-user-flows.spec.js +1 -1
- package/dist/tests/8.6/test-setup.spec.js +2 -4
- package/dist/tests/8.7/connectors-user-flows.spec.js +1 -1
- package/dist/tests/8.7/console-user-flows.spec.js +1 -1
- package/dist/tests/8.7/test-setup.spec.js +2 -4
- package/dist/tests/8.8/connectors-user-flows.spec.js +1 -1
- package/dist/tests/8.8/test-setup.spec.js +2 -4
- package/dist/tests/8.9/connectors-user-flows.spec.js +1 -1
- package/dist/tests/8.9/test-setup.spec.js +2 -4
- package/dist/tests/SM-8.10/connectors-user-flows.spec.js +1 -1
- package/dist/tests/SM-8.6/connectors-user-flows.spec.js +1 -1
- package/dist/tests/SM-8.7/connectors-user-flows.spec.js +1 -1
- package/dist/tests/SM-8.8/connectors-user-flows.spec.js +1 -1
- package/dist/tests/SM-8.9/connectors-user-flows.spec.js +1 -1
- package/package.json +1 -1
|
@@ -51,12 +51,20 @@ class ClusterDetailsPage {
|
|
|
51
51
|
name: 'Create your first Client',
|
|
52
52
|
});
|
|
53
53
|
this.clientNameTextbox = page.getByRole('textbox', { name: 'Client Name' });
|
|
54
|
-
this.tasklistCheckbox = page
|
|
54
|
+
this.tasklistCheckbox = page
|
|
55
|
+
.getByRole('dialog')
|
|
56
|
+
.locator('label')
|
|
57
|
+
.filter({ hasText: 'Tasklist' });
|
|
55
58
|
this.optimizeCheckbox = page
|
|
59
|
+
.getByRole('dialog')
|
|
56
60
|
.locator('label')
|
|
57
61
|
.filter({ hasText: /^Optimize API$/ });
|
|
58
|
-
this.operateCheckbox = page
|
|
62
|
+
this.operateCheckbox = page
|
|
63
|
+
.getByRole('dialog')
|
|
64
|
+
.locator('label')
|
|
65
|
+
.filter({ hasText: 'Operate' });
|
|
59
66
|
this.secretsCheckbox = page
|
|
67
|
+
.getByRole('dialog')
|
|
60
68
|
.locator('label')
|
|
61
69
|
.filter({ hasText: /^Administration API - Resource: Secrets$/ });
|
|
62
70
|
this.createButton = page.getByRole('button', { name: 'Create', exact: true });
|
|
@@ -111,7 +119,10 @@ class ClusterDetailsPage {
|
|
|
111
119
|
this.envVarsTab = this.clientCredentialsDialog.getByRole('tab', {
|
|
112
120
|
name: 'Env Vars',
|
|
113
121
|
});
|
|
114
|
-
this.zeebeCheckbox = page
|
|
122
|
+
this.zeebeCheckbox = page
|
|
123
|
+
.getByRole('dialog')
|
|
124
|
+
.locator('label')
|
|
125
|
+
.filter({ hasText: /^Zeebe$/ });
|
|
115
126
|
this.apiClientNameTextbox = page.getByRole('textbox', {
|
|
116
127
|
name: 'Client Name',
|
|
117
128
|
});
|
|
@@ -28,8 +28,10 @@ class ClusterSecretsPage {
|
|
|
28
28
|
this.createNewSecretButton = page.getByRole('button', {
|
|
29
29
|
name: 'Create new secret',
|
|
30
30
|
});
|
|
31
|
-
this.keyInput = page.getByLabel('Key');
|
|
32
|
-
this.valueInput = page
|
|
31
|
+
this.keyInput = page.getByRole('dialog').getByLabel('Key');
|
|
32
|
+
this.valueInput = page
|
|
33
|
+
.getByRole('dialog')
|
|
34
|
+
.getByLabel('Value', { exact: true });
|
|
33
35
|
this.createButton = page.getByRole('button', { name: 'Create', exact: true });
|
|
34
36
|
this.optionsButton = page
|
|
35
37
|
.getByRole('cell', { name: 'Options' })
|
|
@@ -44,7 +46,7 @@ class ClusterSecretsPage {
|
|
|
44
46
|
this.dialog = page.getByRole('dialog');
|
|
45
47
|
this.importButton = page.getByRole('button', { name: 'Import', exact: true });
|
|
46
48
|
this.fromFileButton = page.getByText('from File', { exact: true });
|
|
47
|
-
this.bulkImportTextArea = page.locator('[id="
|
|
49
|
+
this.bulkImportTextArea = page.locator('[id="bulk-import-content"]');
|
|
48
50
|
this.dialogImportButton = this.page
|
|
49
51
|
.getByRole('dialog')
|
|
50
52
|
.getByRole('button', { name: 'Import', exact: true });
|
|
@@ -208,7 +210,7 @@ class ClusterSecretsPage {
|
|
|
208
210
|
await this.bulkImportTextArea.click();
|
|
209
211
|
await this.bulkImportTextArea.fill(mapped);
|
|
210
212
|
await this.dialogImportButton.click();
|
|
211
|
-
await (0, test_1.expect)(this.
|
|
213
|
+
await (0, test_1.expect)(this.dialog).not.toBeVisible({
|
|
212
214
|
timeout: 60000,
|
|
213
215
|
});
|
|
214
216
|
await (0, test_1.expect)(this.createNewSecretButton).toBeVisible({
|
|
@@ -274,9 +274,9 @@ class ConsoleOrganizationPage {
|
|
|
274
274
|
await (0, test_1.expect)(alphaFeature.locator('[class= "cds--toggle__text"]')).toHaveText('Enabled');
|
|
275
275
|
}
|
|
276
276
|
async scrollToOptInCheckbox() {
|
|
277
|
-
await this.page
|
|
278
|
-
.
|
|
279
|
-
|
|
277
|
+
await this.page.locator('.ps-contract-scroll').evaluate((el) => {
|
|
278
|
+
el.scrollTop = el.scrollHeight;
|
|
279
|
+
});
|
|
280
280
|
}
|
|
281
281
|
async checkOptInCheckbox() {
|
|
282
282
|
await this.optInCheckbox.check({ timeout: 90000 });
|
|
@@ -147,7 +147,7 @@ class ModelerCreatePage {
|
|
|
147
147
|
this.diagramBreadcrumb = page.locator('[data-test="breadcrumb-diagram"]');
|
|
148
148
|
this.renameDiagramNameButton = page.getByText('Rename');
|
|
149
149
|
this.diagramNameInput = page.locator('[data-test="editable-input"]');
|
|
150
|
-
this.variableInput = page.
|
|
150
|
+
this.variableInput = page.locator('textarea#variables-json');
|
|
151
151
|
this.embedFormButton = page.getByRole('button', { name: 'Link form' });
|
|
152
152
|
this.embedButton = page.locator('[data-test="confirm-move"]');
|
|
153
153
|
this.newForm = page
|
|
@@ -48,10 +48,22 @@ class ClusterDetailsPage {
|
|
|
48
48
|
name: 'Create your first Client',
|
|
49
49
|
});
|
|
50
50
|
this.clientNameTextbox = page.getByRole('textbox', { name: 'Client Name' });
|
|
51
|
-
this.tasklistCheckbox = page
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
this.tasklistCheckbox = page
|
|
52
|
+
.getByRole('dialog')
|
|
53
|
+
.locator('label.cds--checkbox-label')
|
|
54
|
+
.filter({ hasText: /^Tasklist$/ });
|
|
55
|
+
this.optimizeCheckbox = page
|
|
56
|
+
.getByRole('dialog')
|
|
57
|
+
.locator('label.cds--checkbox-label')
|
|
58
|
+
.filter({ hasText: /^Optimize$/ });
|
|
59
|
+
this.operateCheckbox = page
|
|
60
|
+
.getByRole('dialog')
|
|
61
|
+
.locator('label.cds--checkbox-label')
|
|
62
|
+
.filter({ hasText: /^Operate$/ });
|
|
63
|
+
this.secretsCheckbox = page
|
|
64
|
+
.getByRole('dialog')
|
|
65
|
+
.locator('label')
|
|
66
|
+
.filter({ hasText: /^Secrets$/ });
|
|
55
67
|
this.createButton = page.getByRole('button', { name: 'Create', exact: true });
|
|
56
68
|
this.closeModalButton = page
|
|
57
69
|
.getByRole('dialog', { name: 'Client credentials', exact: true })
|
|
@@ -21,8 +21,10 @@ class ClusterSecretsPage {
|
|
|
21
21
|
this.createNewSecretButton = page.getByRole('button', {
|
|
22
22
|
name: 'Create new secret',
|
|
23
23
|
});
|
|
24
|
-
this.keyInput = page.getByLabel('Key');
|
|
25
|
-
this.valueInput = page
|
|
24
|
+
this.keyInput = page.getByRole('dialog').getByLabel('Key');
|
|
25
|
+
this.valueInput = page
|
|
26
|
+
.getByRole('dialog')
|
|
27
|
+
.getByLabel('Value', { exact: true });
|
|
26
28
|
this.createButton = page.getByRole('button', { name: 'Create', exact: true });
|
|
27
29
|
this.optionsButton = page
|
|
28
30
|
.getByRole('cell', { name: 'Options' })
|
|
@@ -282,9 +282,9 @@ class ConsoleOrganizationPage {
|
|
|
282
282
|
await this.optInButton.click({ timeout: 60000 });
|
|
283
283
|
}
|
|
284
284
|
async scrollToOptInCheckbox() {
|
|
285
|
-
await this.page
|
|
286
|
-
.
|
|
287
|
-
|
|
285
|
+
await this.page.locator('.ps-contract-scroll').evaluate((el) => {
|
|
286
|
+
el.scrollTop = el.scrollHeight;
|
|
287
|
+
});
|
|
288
288
|
}
|
|
289
289
|
async checkOptInCheckbox() {
|
|
290
290
|
await this.optInCheckbox.check({ timeout: 90000 });
|
|
@@ -137,7 +137,7 @@ class ModelerCreatePage {
|
|
|
137
137
|
this.diagramBreadcrumb = page.locator('[data-test="breadcrumb-diagram"]');
|
|
138
138
|
this.renameDiagramNameButton = page.getByText('Rename');
|
|
139
139
|
this.diagramNameInput = page.locator('[data-test="editable-input"]');
|
|
140
|
-
this.variableInput = page.
|
|
140
|
+
this.variableInput = page.locator('textarea#variables-json');
|
|
141
141
|
this.embedFormButton = page.getByRole('button', { name: 'Link form' });
|
|
142
142
|
this.embedButton = page.locator('[data-test="confirm-move"]');
|
|
143
143
|
this.newForm = page
|
|
@@ -55,10 +55,22 @@ class ClusterDetailsPage {
|
|
|
55
55
|
name: 'Create your first Client',
|
|
56
56
|
});
|
|
57
57
|
this.clientNameTextbox = page.getByRole('textbox', { name: 'Client Name' });
|
|
58
|
-
this.tasklistCheckbox = page
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
this.tasklistCheckbox = page
|
|
59
|
+
.getByRole('dialog')
|
|
60
|
+
.locator('label')
|
|
61
|
+
.filter({ hasText: 'Tasklist' });
|
|
62
|
+
this.optimizeCheckbox = page
|
|
63
|
+
.getByRole('dialog')
|
|
64
|
+
.locator('label')
|
|
65
|
+
.filter({ hasText: 'Optimize' });
|
|
66
|
+
this.operateCheckbox = page
|
|
67
|
+
.getByRole('dialog')
|
|
68
|
+
.locator('label')
|
|
69
|
+
.filter({ hasText: 'Operate' });
|
|
70
|
+
this.secretsCheckbox = page
|
|
71
|
+
.getByRole('dialog')
|
|
72
|
+
.locator('label')
|
|
73
|
+
.filter({ hasText: /^Secrets$/ });
|
|
62
74
|
this.createButton = page.getByRole('button', { name: 'Create', exact: true });
|
|
63
75
|
this.closeModalButton = page
|
|
64
76
|
.getByRole('dialog', { name: 'Client credentials', exact: true })
|
|
@@ -125,7 +137,10 @@ class ClusterDetailsPage {
|
|
|
125
137
|
this.envVarsTab = this.clientCredentialsDialog.getByRole('tab', {
|
|
126
138
|
name: 'Env Vars',
|
|
127
139
|
});
|
|
128
|
-
this.zeebeCheckbox = page
|
|
140
|
+
this.zeebeCheckbox = page
|
|
141
|
+
.getByRole('dialog')
|
|
142
|
+
.locator('label')
|
|
143
|
+
.filter({ hasText: /^Zeebe$/ });
|
|
129
144
|
this.apiClientNameTextbox = page.getByRole('textbox', {
|
|
130
145
|
name: 'Client Name',
|
|
131
146
|
});
|
|
@@ -278,9 +278,9 @@ class ConsoleOrganizationPage {
|
|
|
278
278
|
await (0, test_1.expect)(alphaFeature.locator('[class= "cds--toggle__text"]')).toHaveText('Enabled');
|
|
279
279
|
}
|
|
280
280
|
async scrollToOptInCheckbox() {
|
|
281
|
-
await this.page
|
|
282
|
-
.
|
|
283
|
-
|
|
281
|
+
await this.page.locator('.ps-contract-scroll').evaluate((el) => {
|
|
282
|
+
el.scrollTop = el.scrollHeight;
|
|
283
|
+
});
|
|
284
284
|
}
|
|
285
285
|
async checkOptInCheckbox() {
|
|
286
286
|
await this.optInCheckbox.check({ timeout: 90000 });
|
|
@@ -139,7 +139,7 @@ class ModelerCreatePage {
|
|
|
139
139
|
this.diagramBreadcrumb = page.locator('[data-test="breadcrumb-diagram"]');
|
|
140
140
|
this.renameDiagramNameButton = page.getByText('Rename');
|
|
141
141
|
this.diagramNameInput = page.locator('[data-test="editable-input"]');
|
|
142
|
-
this.variableInput = page.
|
|
142
|
+
this.variableInput = page.locator('textarea#variables-json');
|
|
143
143
|
this.embedFormButton = page.getByRole('button', { name: 'Link form' });
|
|
144
144
|
this.embedButton = page.locator('[data-test="confirm-move"]');
|
|
145
145
|
this.deployMainButton = page.locator('[data-test="deploy-button"]');
|
|
@@ -113,7 +113,10 @@ class ClusterDetailsPage {
|
|
|
113
113
|
this.envVarsTab = this.clientCredentialsDialog.getByRole('tab', {
|
|
114
114
|
name: 'Env Vars',
|
|
115
115
|
});
|
|
116
|
-
this.zeebeCheckbox = page
|
|
116
|
+
this.zeebeCheckbox = page
|
|
117
|
+
.getByRole('dialog')
|
|
118
|
+
.locator('label')
|
|
119
|
+
.filter({ hasText: /^Zeebe$/ });
|
|
117
120
|
this.apiClientNameTextbox = page.getByRole('textbox', {
|
|
118
121
|
name: 'Client Name',
|
|
119
122
|
});
|
|
@@ -28,8 +28,10 @@ class ClusterSecretsPage {
|
|
|
28
28
|
this.createNewSecretButton = page.getByRole('button', {
|
|
29
29
|
name: 'Create new secret',
|
|
30
30
|
});
|
|
31
|
-
this.keyInput = page.getByLabel('Key');
|
|
32
|
-
this.valueInput = page
|
|
31
|
+
this.keyInput = page.getByRole('dialog').getByLabel('Key');
|
|
32
|
+
this.valueInput = page
|
|
33
|
+
.getByRole('dialog')
|
|
34
|
+
.getByLabel('Value', { exact: true });
|
|
33
35
|
this.createButton = page.getByRole('button', { name: 'Create', exact: true });
|
|
34
36
|
this.optionsButton = page
|
|
35
37
|
.getByRole('cell', { name: 'Options' })
|
|
@@ -44,7 +46,7 @@ class ClusterSecretsPage {
|
|
|
44
46
|
this.dialog = page.getByRole('dialog');
|
|
45
47
|
this.importButton = page.getByRole('button', { name: 'Import', exact: true });
|
|
46
48
|
this.fromFileButton = page.getByText('from File', { exact: true });
|
|
47
|
-
this.bulkImportTextArea = page.locator('[id="
|
|
49
|
+
this.bulkImportTextArea = page.locator('[id="bulk-import-content"]');
|
|
48
50
|
this.dialogImportButton = this.page
|
|
49
51
|
.getByRole('dialog')
|
|
50
52
|
.getByRole('button', { name: 'Import', exact: true });
|
|
@@ -208,7 +210,7 @@ class ClusterSecretsPage {
|
|
|
208
210
|
await this.bulkImportTextArea.click();
|
|
209
211
|
await this.bulkImportTextArea.fill(mapped);
|
|
210
212
|
await this.dialogImportButton.click();
|
|
211
|
-
await (0, test_1.expect)(this.
|
|
213
|
+
await (0, test_1.expect)(this.dialog).not.toBeVisible({
|
|
212
214
|
timeout: 60000,
|
|
213
215
|
});
|
|
214
216
|
await (0, test_1.expect)(this.createNewSecretButton).toBeVisible({
|
|
@@ -274,9 +274,9 @@ class ConsoleOrganizationPage {
|
|
|
274
274
|
await (0, test_1.expect)(alphaFeature.locator('[class= "cds--toggle__text"]')).toHaveText('Enabled');
|
|
275
275
|
}
|
|
276
276
|
async scrollToOptInCheckbox() {
|
|
277
|
-
await this.page
|
|
278
|
-
.
|
|
279
|
-
|
|
277
|
+
await this.page.locator('.ps-contract-scroll').evaluate((el) => {
|
|
278
|
+
el.scrollTop = el.scrollHeight;
|
|
279
|
+
});
|
|
280
280
|
}
|
|
281
281
|
async checkOptInCheckbox() {
|
|
282
282
|
await this.optInCheckbox.check({ timeout: 90000 });
|
|
@@ -56,11 +56,18 @@ class ClusterDetailsPage {
|
|
|
56
56
|
name: 'Create your first Client',
|
|
57
57
|
});
|
|
58
58
|
this.clientNameTextbox = page.getByRole('textbox', { name: 'Client Name' });
|
|
59
|
-
this.tasklistCheckbox = page
|
|
59
|
+
this.tasklistCheckbox = page
|
|
60
|
+
.getByRole('dialog')
|
|
61
|
+
.locator('label')
|
|
62
|
+
.filter({ hasText: 'Tasklist' });
|
|
60
63
|
this.optimizeCheckbox = page
|
|
64
|
+
.getByRole('dialog')
|
|
61
65
|
.locator('label')
|
|
62
66
|
.filter({ hasText: /^Optimize API$/ });
|
|
63
|
-
this.operateCheckbox = page
|
|
67
|
+
this.operateCheckbox = page
|
|
68
|
+
.getByRole('dialog')
|
|
69
|
+
.locator('label')
|
|
70
|
+
.filter({ hasText: 'Operate' });
|
|
64
71
|
this.secretsCheckbox = page
|
|
65
72
|
.locator('label')
|
|
66
73
|
.filter({ hasText: /^Administration API - Resource: Secrets$/ });
|
|
@@ -116,7 +123,10 @@ class ClusterDetailsPage {
|
|
|
116
123
|
this.envVarsTab = this.clientCredentialsDialog.getByRole('tab', {
|
|
117
124
|
name: 'Env Vars',
|
|
118
125
|
});
|
|
119
|
-
this.zeebeCheckbox = page
|
|
126
|
+
this.zeebeCheckbox = page
|
|
127
|
+
.getByRole('dialog')
|
|
128
|
+
.locator('label')
|
|
129
|
+
.filter({ hasText: /^Zeebe$/ });
|
|
120
130
|
this.apiClientNameTextbox = page.getByRole('textbox', {
|
|
121
131
|
name: 'Client Name',
|
|
122
132
|
});
|
|
@@ -28,8 +28,10 @@ class ClusterSecretsPage {
|
|
|
28
28
|
this.createNewSecretButton = page.getByRole('button', {
|
|
29
29
|
name: 'Create new secret',
|
|
30
30
|
});
|
|
31
|
-
this.keyInput = page.getByLabel('Key');
|
|
32
|
-
this.valueInput = page
|
|
31
|
+
this.keyInput = page.getByRole('dialog').getByLabel('Key');
|
|
32
|
+
this.valueInput = page
|
|
33
|
+
.getByRole('dialog')
|
|
34
|
+
.getByLabel('Value', { exact: true });
|
|
33
35
|
this.createButton = page.getByRole('button', { name: 'Create', exact: true });
|
|
34
36
|
this.optionsButton = page
|
|
35
37
|
.getByRole('cell', { name: 'Options' })
|
|
@@ -44,7 +46,7 @@ class ClusterSecretsPage {
|
|
|
44
46
|
this.dialog = page.getByRole('dialog');
|
|
45
47
|
this.importButton = page.getByRole('button', { name: 'Import', exact: true });
|
|
46
48
|
this.fromFileButton = page.getByText('from File', { exact: true });
|
|
47
|
-
this.bulkImportTextArea = page.locator('[id="
|
|
49
|
+
this.bulkImportTextArea = page.locator('[id="bulk-import-content"]');
|
|
48
50
|
this.dialogImportButton = this.page
|
|
49
51
|
.getByRole('dialog')
|
|
50
52
|
.getByRole('button', { name: 'Import', exact: true });
|
|
@@ -208,7 +210,7 @@ class ClusterSecretsPage {
|
|
|
208
210
|
await this.bulkImportTextArea.click();
|
|
209
211
|
await this.bulkImportTextArea.fill(mapped);
|
|
210
212
|
await this.dialogImportButton.click();
|
|
211
|
-
await (0, test_1.expect)(this.
|
|
213
|
+
await (0, test_1.expect)(this.dialog).not.toBeVisible({
|
|
212
214
|
timeout: 60000,
|
|
213
215
|
});
|
|
214
216
|
await (0, test_1.expect)(this.createNewSecretButton).toBeVisible({
|
|
@@ -274,9 +274,9 @@ class ConsoleOrganizationPage {
|
|
|
274
274
|
await (0, test_1.expect)(alphaFeature.locator('[class= "cds--toggle__text"]')).toHaveText('Enabled');
|
|
275
275
|
}
|
|
276
276
|
async scrollToOptInCheckbox() {
|
|
277
|
-
await this.page
|
|
278
|
-
.
|
|
279
|
-
|
|
277
|
+
await this.page.locator('.ps-contract-scroll').evaluate((el) => {
|
|
278
|
+
el.scrollTop = el.scrollHeight;
|
|
279
|
+
});
|
|
280
280
|
}
|
|
281
281
|
async checkOptInCheckbox() {
|
|
282
282
|
await this.optInCheckbox.check({ timeout: 90000 });
|
|
@@ -83,7 +83,7 @@ _8_10_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
83
83
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
84
84
|
});
|
|
85
85
|
await _8_10_1.test.step('Create BPMN Diagram with REST Connector with Bearer Token Auth and Start Process Instance', async () => {
|
|
86
|
-
await (0, UtilitiesPage_2.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body}');
|
|
86
|
+
await (0, UtilitiesPage_2.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}');
|
|
87
87
|
await modelerCreatePage.runProcessInstance(defaultClusterName);
|
|
88
88
|
await (0, _setup_1.performBearerTokenAuthPostRequest)('https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'thisisabearertoken');
|
|
89
89
|
});
|
|
@@ -14,15 +14,13 @@ _8_10_1.test.describe('Cluster Setup Tests', () => {
|
|
|
14
14
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
15
15
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
16
16
|
});
|
|
17
|
-
(0, _8_10_1.test)('Enable Alpha Features', async ({ page,
|
|
17
|
+
(0, _8_10_1.test)('Enable Alpha Features', async ({ page, loginPage, consoleOrganizationsPage, homePage, }, testInfo) => {
|
|
18
18
|
if (process.env.IS_PROD === 'true') {
|
|
19
19
|
_8_10_1.test.skip(true, 'Skipping test because not required on PROD test org');
|
|
20
20
|
}
|
|
21
21
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, users_1.testUsers.mainUser, (testInfo.workerIndex + 1) * 1000);
|
|
22
22
|
await homePage.clickOrganization();
|
|
23
|
-
await (0,
|
|
24
|
-
timeout: 60000,
|
|
25
|
-
});
|
|
23
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(page, consoleOrganizationsPage.settingsTab, 'settings tab', 60000, false, 2);
|
|
26
24
|
await consoleOrganizationsPage.clickSettingsTab();
|
|
27
25
|
await consoleOrganizationsPage.optInToAlphaFeatures();
|
|
28
26
|
await (0, sleep_1.sleep)(30000);
|
|
@@ -78,7 +78,7 @@ _8_6_1.test.describe('Connectors User Flow Tests', () => {
|
|
|
78
78
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
79
79
|
});
|
|
80
80
|
await _8_6_1.test.step('Create BPMN Diagram with REST Connector with Bearer Token Auth and Start Process Instance', async () => {
|
|
81
|
-
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body}');
|
|
81
|
+
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}');
|
|
82
82
|
await modelerCreatePage.runProcessInstance(defaultClusterName);
|
|
83
83
|
await (0, _setup_1.performBearerTokenAuthPostRequest)('https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'thisisabearertoken');
|
|
84
84
|
});
|
|
@@ -13,15 +13,13 @@ _8_6_1.test.describe('Cluster Setup Tests', () => {
|
|
|
13
13
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
14
14
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
15
15
|
});
|
|
16
|
-
(0, _8_6_1.test)('Enable Alpha Features', async ({ page,
|
|
16
|
+
(0, _8_6_1.test)('Enable Alpha Features', async ({ page, loginPage, consoleOrganizationsPage, homePage, }, testInfo) => {
|
|
17
17
|
if (process.env.IS_PROD === 'true') {
|
|
18
18
|
_8_6_1.test.skip(true, 'Skipping test because not required on PROD test org');
|
|
19
19
|
}
|
|
20
20
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, users_1.testUsers.mainUser, (testInfo.workerIndex + 1) * 1000);
|
|
21
21
|
await homePage.clickOrganization();
|
|
22
|
-
await (0,
|
|
23
|
-
timeout: 60000,
|
|
24
|
-
});
|
|
22
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(page, consoleOrganizationsPage.settingsTab, 'settings tab', 60000, 2);
|
|
25
23
|
await consoleOrganizationsPage.clickSettingsTab();
|
|
26
24
|
await consoleOrganizationsPage.optInToAlphaFeatures();
|
|
27
25
|
await (0, sleep_1.sleep)(30000);
|
|
@@ -79,7 +79,7 @@ _8_7_1.test.describe('Connectors User Flow Tests', () => {
|
|
|
79
79
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
80
80
|
});
|
|
81
81
|
await _8_7_1.test.step('Create BPMN Diagram with REST Connector with Bearer Token Auth and Start Process Instance', async () => {
|
|
82
|
-
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body}');
|
|
82
|
+
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}');
|
|
83
83
|
await modelerCreatePage.runProcessInstance(defaultClusterName);
|
|
84
84
|
await (0, _setup_1.performBearerTokenAuthPostRequest)('https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'thisisabearertoken');
|
|
85
85
|
});
|
|
@@ -179,7 +179,7 @@ _8_7_1.test.describe('Console User Flow Tests', () => {
|
|
|
179
179
|
const operateTabPromise = page.waitForEvent('popup', { timeout: 60000 });
|
|
180
180
|
const operateTab = await operateTabPromise;
|
|
181
181
|
const operateTabProcessInstancePage = new OperateProcessInstancePage_1.OperateProcessInstancePage(operateTab);
|
|
182
|
-
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateTabProcessInstancePage, operateTabProcessInstancePage.completedIcon, 'completed icon in Operate', 60000);
|
|
182
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateTabProcessInstancePage, operateTabProcessInstancePage.completedIcon, 'completed icon in Operate', 60000, 2);
|
|
183
183
|
});
|
|
184
184
|
});
|
|
185
185
|
});
|
|
@@ -13,15 +13,13 @@ _8_7_1.test.describe('Cluster Setup Tests', () => {
|
|
|
13
13
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
14
14
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
15
15
|
});
|
|
16
|
-
(0, _8_7_1.test)('Enable Alpha Features', async ({ page,
|
|
16
|
+
(0, _8_7_1.test)('Enable Alpha Features', async ({ page, loginPage, consoleOrganizationsPage, homePage, }, testInfo) => {
|
|
17
17
|
if (process.env.IS_PROD === 'true') {
|
|
18
18
|
_8_7_1.test.skip(true, 'Skipping test because not required on PROD test org');
|
|
19
19
|
}
|
|
20
20
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, users_1.testUsers.mainUser, (testInfo.workerIndex + 1) * 1000);
|
|
21
21
|
await homePage.clickOrganization();
|
|
22
|
-
await (0,
|
|
23
|
-
timeout: 60000,
|
|
24
|
-
});
|
|
22
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(page, consoleOrganizationsPage.settingsTab, 'settings tab', 60000, 2);
|
|
25
23
|
await consoleOrganizationsPage.clickSettingsTab();
|
|
26
24
|
await consoleOrganizationsPage.optInToAlphaFeatures();
|
|
27
25
|
await (0, sleep_1.sleep)(30000);
|
|
@@ -80,7 +80,7 @@ _8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
80
80
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
81
81
|
});
|
|
82
82
|
await _8_8_1.test.step('Create BPMN Diagram with REST Connector with Bearer Token Auth and Start Process Instance', async () => {
|
|
83
|
-
await (0, UtilitiesPage_2.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body}');
|
|
83
|
+
await (0, UtilitiesPage_2.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}');
|
|
84
84
|
await modelerCreatePage.runProcessInstance(defaultClusterName);
|
|
85
85
|
await (0, _setup_1.performBearerTokenAuthPostRequest)('https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'thisisabearertoken');
|
|
86
86
|
});
|
|
@@ -14,15 +14,13 @@ _8_8_1.test.describe('Cluster Setup Tests', () => {
|
|
|
14
14
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
15
15
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
16
16
|
});
|
|
17
|
-
(0, _8_8_1.test)('Enable Alpha Features', async ({ page,
|
|
17
|
+
(0, _8_8_1.test)('Enable Alpha Features', async ({ page, loginPage, consoleOrganizationsPage, homePage, }, testInfo) => {
|
|
18
18
|
if (process.env.IS_PROD === 'true') {
|
|
19
19
|
_8_8_1.test.skip(true, 'Skipping test because not required on PROD test org');
|
|
20
20
|
}
|
|
21
21
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, users_1.testUsers.mainUser, (testInfo.workerIndex + 1) * 1000);
|
|
22
22
|
await homePage.clickOrganization();
|
|
23
|
-
await (0,
|
|
24
|
-
timeout: 60000,
|
|
25
|
-
});
|
|
23
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(page, consoleOrganizationsPage.settingsTab, 'settings tab', 60000, false, 2);
|
|
26
24
|
await consoleOrganizationsPage.clickSettingsTab();
|
|
27
25
|
await consoleOrganizationsPage.optInToAlphaFeatures();
|
|
28
26
|
await (0, sleep_1.sleep)(30000);
|
|
@@ -83,7 +83,7 @@ _8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
83
83
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
84
84
|
});
|
|
85
85
|
await _8_9_1.test.step('Create BPMN Diagram with REST Connector with Bearer Token Auth and Start Process Instance', async () => {
|
|
86
|
-
await (0, UtilitiesPage_2.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body}');
|
|
86
|
+
await (0, UtilitiesPage_2.modelRestConnector)(modelerCreatePage, connectorSettingsPage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}');
|
|
87
87
|
await modelerCreatePage.runProcessInstance(defaultClusterName);
|
|
88
88
|
await (0, _setup_1.performBearerTokenAuthPostRequest)('https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'thisisabearertoken');
|
|
89
89
|
});
|
|
@@ -15,15 +15,13 @@ _8_9_1.test.describe('Cluster Setup Tests', () => {
|
|
|
15
15
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
16
16
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
17
17
|
});
|
|
18
|
-
(0, _8_9_1.test)('Enable Alpha Features', async ({ page,
|
|
18
|
+
(0, _8_9_1.test)('Enable Alpha Features', async ({ page, loginPage, consoleOrganizationsPage, homePage, }, testInfo) => {
|
|
19
19
|
if (process.env.IS_PROD === 'true') {
|
|
20
20
|
_8_9_1.test.skip(true, 'Skipping test because not required on PROD test org');
|
|
21
21
|
}
|
|
22
22
|
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, users_1.testUsers.mainUser, (testInfo.workerIndex + 1) * 1000);
|
|
23
23
|
await homePage.clickOrganization();
|
|
24
|
-
await (0,
|
|
25
|
-
timeout: 60000,
|
|
26
|
-
});
|
|
24
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(page, consoleOrganizationsPage.settingsTab, 'settings tab', 60000, false, 2);
|
|
27
25
|
await consoleOrganizationsPage.clickSettingsTab();
|
|
28
26
|
await consoleOrganizationsPage.optInToAlphaFeatures();
|
|
29
27
|
await (0, sleep_1.sleep)(30000);
|
|
@@ -52,7 +52,7 @@ SM_8_10_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
52
52
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
53
53
|
});
|
|
54
54
|
await SM_8_10_1.test.step('Create BPMN Diagram with REST Connector with Basic Auth and Start Process Instance', async () => {
|
|
55
|
-
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body}');
|
|
55
|
+
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}');
|
|
56
56
|
await modelerCreatePage.runProcessInstance();
|
|
57
57
|
await (0, _setup_1.performBearerTokenAuthPostRequest)('https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'thisisabearertoken');
|
|
58
58
|
await (0, sleep_1.sleep)(20000);
|
|
@@ -54,7 +54,7 @@ SM_8_6_1.test.describe('Connectors User Flow Tests', () => {
|
|
|
54
54
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
55
55
|
});
|
|
56
56
|
await SM_8_6_1.test.step('Create BPMN Diagram with REST Connector with Basic Auth and Start Process Instance', async () => {
|
|
57
|
-
await (0, UtlitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body}');
|
|
57
|
+
await (0, UtlitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}');
|
|
58
58
|
await modelerCreatePage.runProcessInstance();
|
|
59
59
|
await (0, sleep_1.sleep)(20000);
|
|
60
60
|
});
|
|
@@ -61,7 +61,7 @@ SM_8_7_1.test.describe.parallel('Connectors User Flow Tests', () => {
|
|
|
61
61
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
62
62
|
});
|
|
63
63
|
await SM_8_7_1.test.step('Create BPMN Diagram with REST Connector with Basic Auth and Start Process Instance', async () => {
|
|
64
|
-
await (0, UtlitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body}');
|
|
64
|
+
await (0, UtlitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}');
|
|
65
65
|
await modelerCreatePage.runProcessInstance();
|
|
66
66
|
await (0, _setup_1.performBearerTokenAuthPostRequest)('https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'thisisabearertoken');
|
|
67
67
|
});
|
|
@@ -52,7 +52,7 @@ SM_8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
52
52
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
53
53
|
});
|
|
54
54
|
await SM_8_8_1.test.step('Create BPMN Diagram with REST Connector with Basic Auth and Start Process Instance', async () => {
|
|
55
|
-
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body}');
|
|
55
|
+
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}');
|
|
56
56
|
await modelerCreatePage.runProcessInstance();
|
|
57
57
|
await (0, _setup_1.performBearerTokenAuthPostRequest)('https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'thisisabearertoken');
|
|
58
58
|
await (0, sleep_1.sleep)(20000);
|
|
@@ -52,7 +52,7 @@ SM_8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
52
52
|
await modelerHomePage.clickBpmnTemplateOption();
|
|
53
53
|
});
|
|
54
54
|
await SM_8_9_1.test.step('Create BPMN Diagram with REST Connector with Basic Auth and Start Process Instance', async () => {
|
|
55
|
-
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body}');
|
|
55
|
+
await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}');
|
|
56
56
|
await modelerCreatePage.runProcessInstance();
|
|
57
57
|
await (0, _setup_1.performBearerTokenAuthPostRequest)('https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'thisisabearertoken');
|
|
58
58
|
await (0, sleep_1.sleep)(20000);
|