@camunda/e2e-test-suite 0.0.271 → 0.0.272

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.
@@ -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.locator('label').filter({ hasText: 'Tasklist' });
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.locator('label').filter({ hasText: 'Operate' });
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.locator('label').filter({ hasText: /^Zeebe$/ });
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.getByLabel('Value', { exact: true });
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="env-content-input-secrets-bulk-import"]');
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.page.getByText('Importing secrets...')).not.toBeVisible({
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
- .getByLabel('I understand and agree to')
279
- .scrollIntoViewIfNeeded();
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.getByLabel('Variables');
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.locator('label').filter({ hasText: 'Tasklist' });
52
- this.optimizeCheckbox = page.locator('label').filter({ hasText: 'Optimize' });
53
- this.operateCheckbox = page.locator('label').filter({ hasText: 'Operate' });
54
- this.secretsCheckbox = page.locator('label').filter({ hasText: /^Secrets$/ });
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.getByLabel('Value', { exact: true });
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
- .getByLabel('I understand and agree to')
287
- .scrollIntoViewIfNeeded();
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.getByLabel('Variables');
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.locator('label').filter({ hasText: 'Tasklist' });
59
- this.optimizeCheckbox = page.locator('label').filter({ hasText: 'Optimize' });
60
- this.operateCheckbox = page.locator('label').filter({ hasText: 'Operate' });
61
- this.secretsCheckbox = page.locator('label').filter({ hasText: /^Secrets$/ });
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.locator('label').filter({ hasText: /^Zeebe$/ });
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
- .getByLabel('I understand and agree to')
283
- .scrollIntoViewIfNeeded();
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.getByLabel('Variables');
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.locator('label').filter({ hasText: /^Zeebe$/ });
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.getByLabel('Value', { exact: true });
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="env-content-input-secrets-bulk-import"]');
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.page.getByText('Importing secrets...')).not.toBeVisible({
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
- .getByLabel('I understand and agree to')
279
- .scrollIntoViewIfNeeded();
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.locator('label').filter({ hasText: 'Tasklist' });
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.locator('label').filter({ hasText: 'Operate' });
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.locator('label').filter({ hasText: /^Zeebe$/ });
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.getByLabel('Value', { exact: true });
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="env-content-input-secrets-bulk-import"]');
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.page.getByText('Importing secrets...')).not.toBeVisible({
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
- .getByLabel('I understand and agree to')
279
- .scrollIntoViewIfNeeded();
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 });
@@ -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, homePage, loginPage, consoleOrganizationsPage, }, testInfo) => {
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, test_1.expect)(consoleOrganizationsPage.settingsTab).toBeVisible({
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);
@@ -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, homePage, loginPage, consoleOrganizationsPage, }, testInfo) => {
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, test_1.expect)(consoleOrganizationsPage.settingsTab).toBeVisible({
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);
@@ -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, homePage, loginPage, consoleOrganizationsPage, }, testInfo) => {
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, test_1.expect)(consoleOrganizationsPage.settingsTab).toBeVisible({
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);
@@ -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, homePage, loginPage, consoleOrganizationsPage, }, testInfo) => {
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, test_1.expect)(consoleOrganizationsPage.settingsTab).toBeVisible({
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);
@@ -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, homePage, loginPage, consoleOrganizationsPage, }, testInfo) => {
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, test_1.expect)(consoleOrganizationsPage.settingsTab).toBeVisible({
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.271",
3
+ "version": "0.0.272",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",