@camunda/e2e-test-suite 0.0.563 → 0.0.564

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.
@@ -136,7 +136,7 @@ declare class ModelerCreatePage {
136
136
  clickDeploySubButton(): Promise<void>;
137
137
  clickCancelButton(): Promise<void>;
138
138
  private recoverModelerSession;
139
- clickRestConnectorOption(): Promise<void>;
139
+ clickRestConnectorOption(recoverSession?: () => Promise<void>): Promise<void>;
140
140
  clickMarketPlaceButton(): Promise<void>;
141
141
  completeDeploymentEndpointConfiguration(): Promise<void>;
142
142
  completePlayConfiguration(): Promise<void>;
@@ -615,21 +615,33 @@ class ModelerCreatePage {
615
615
  async clickCancelButton() {
616
616
  await this.cancelButton.click();
617
617
  }
618
- async recoverModelerSession() {
619
- const url = this.page.url().split('?')[0];
620
- await this.page.context().clearCookies();
621
- await this.page.goto(url, { timeout: 30000, waitUntil: 'domcontentloaded' });
622
- const username = process.env.DEMO_USER_EMAIL || 'demo';
623
- const password = process.env.DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_PASSWORD || 'demo';
624
- const loginInput = this.page.locator('#username');
625
- if (await loginInput.isVisible({ timeout: 5000 }).catch(() => false)) {
626
- await loginInput.fill(username);
627
- await this.page.locator('#password').fill(password);
628
- await this.page.locator('#kc-login').click();
618
+ async recoverModelerSession(recoverSession) {
619
+ const rawUrl = this.page.url();
620
+ let url;
621
+ if (rawUrl.includes('client_id=web-modeler')) {
622
+ const match = rawUrl.match(/redirect_uri=([^&]+)/);
623
+ url = match
624
+ ? decodeURIComponent(match[1]).split('?')[0]
625
+ : rawUrl.split('?')[0];
629
626
  }
627
+ else {
628
+ url = rawUrl.split('?')[0];
629
+ }
630
+ if (recoverSession) {
631
+ // Caller-provided function handles auth + navigation (e.g. navigationPage.goToModeler).
632
+ // It retries internally; after it returns the session is valid on Modeler home.
633
+ await recoverSession();
634
+ }
635
+ // Navigate to the diagram URL directly — goToModeler lands on Modeler home, and
636
+ // after a pod restart Modeler also loses OIDC state and redirects home, so we go
637
+ // to the diagram explicitly while the session is valid.
638
+ await this.page.goto(url, {
639
+ timeout: 30000,
640
+ waitUntil: 'domcontentloaded',
641
+ });
630
642
  await (0, test_1.expect)(this.secondElement).toBeVisible({ timeout: 60000 });
631
643
  }
632
- async clickRestConnectorOption() {
644
+ async clickRestConnectorOption(recoverSession) {
633
645
  const maxRetries = 4;
634
646
  for (let retries = 0; retries < maxRetries; retries++) {
635
647
  try {
@@ -640,7 +652,7 @@ class ModelerCreatePage {
640
652
  }
641
653
  else if (retries === 1 || retries === 2) {
642
654
  // Recover session cleanly instead of page.reload()
643
- await this.recoverModelerSession();
655
+ await this.recoverModelerSession(recoverSession);
644
656
  await this.secondElement.click({ timeout: 60000 });
645
657
  await this.changeTypeButton.click({ force: true, timeout: 60000 });
646
658
  await (0, test_1.expect)(this.restConnectorOption).toBeVisible({ timeout: 90000 });
@@ -648,7 +660,7 @@ class ModelerCreatePage {
648
660
  }
649
661
  else {
650
662
  // Fourth attempt: install via marketplace (real product flow)
651
- await this.recoverModelerSession();
663
+ await this.recoverModelerSession(recoverSession);
652
664
  await this.secondElement.click({ timeout: 60000 });
653
665
  await this.changeTypeButton.click({ force: true, timeout: 60000 });
654
666
  await this.clickMarketPlaceButton();
@@ -20,9 +20,13 @@ export declare function createUserAndAssignToRole(page: Page, navigationPage: Na
20
20
  export declare function assignMappingToRole(page: Page, ocIdentityHomePage: OCIdentityHomePage, ocIdentityRolesPage: OCIdentityRolesPage, role: string, mappingRuleId: string, testMappings?: Serializable): Promise<void>;
21
21
  export declare function createAndRunProcess(page: Page, modelerHomePage: ModelerHomePage, modelerCreatePage: ModelerCreatePage, processName: string, processId?: string, tenant?: string): Promise<void>;
22
22
  export declare function completeTaskWithRetry(page: Page, taskPanelPage: TaskPanelPage, taskDetailsPage: TaskDetailsPage, taskName: string, taskPriority: string, maxRetries?: number): Promise<void>;
23
- export declare function modelRestConnector(modelerCreatePage: ModelerCreatePage, connectorSettingsPage: ConnectorSettingsPage, connectorMarketplacePage: ConnectorMarketplacePage, processName: string, url: string, auth: string, resultExpression: string, resultVariable?: string, basicAuthCredentials?: {
24
- username: string;
25
- password: string;
23
+ export declare function modelRestConnector(modelerCreatePage: ModelerCreatePage, connectorSettingsPage: ConnectorSettingsPage, connectorMarketplacePage: ConnectorMarketplacePage, processName: string, url: string, auth: string, resultExpression: string, { resultVariable, basicAuthCredentials, recoverSession, }?: {
24
+ resultVariable?: string;
25
+ basicAuthCredentials?: {
26
+ username: string;
27
+ password: string;
28
+ };
29
+ recoverSession?: () => Promise<void>;
26
30
  }): Promise<void>;
27
31
  export declare function assertLocatorVisibleWithPaginated(page: Page, locator: Locator, text: string): Promise<void>;
28
32
  export declare function assertLocatorVisibleWithRetry(page: Page, locator: Locator, text: string, timeout?: number, notVisible?: boolean, maxRetries?: number, clickLocator?: Locator): Promise<void>;
@@ -139,10 +139,7 @@ async function completeTaskWithRetry(page, taskPanelPage, taskDetailsPage, taskN
139
139
  }
140
140
  }
141
141
  exports.completeTaskWithRetry = completeTaskWithRetry;
142
- async function modelRestConnector(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, url, auth, resultExpression, resultVariable = '', basicAuthCredentials = {
143
- username: '',
144
- password: '',
145
- }) {
142
+ async function modelRestConnector(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, url, auth, resultExpression, { resultVariable = '', basicAuthCredentials = { username: '', password: '' }, recoverSession, } = {}) {
146
143
  await (0, test_1.expect)(modelerCreatePage.generalPanel).toBeVisible({
147
144
  timeout: 120000,
148
145
  });
@@ -178,7 +175,7 @@ async function modelRestConnector(modelerCreatePage, connectorSettingsPage, conn
178
175
  await connectorMarketplacePage.waitForConnectorSearchResults();
179
176
  await connectorMarketplacePage.downloadConnectorToProject();
180
177
  }
181
- await modelerCreatePage.clickRestConnectorOption();
178
+ await modelerCreatePage.clickRestConnectorOption(recoverSession);
182
179
  await connectorSettingsPage.clickAuthenticationTab();
183
180
  await connectorSettingsPage.clickHTTPEndpointTab();
184
181
  if (auth == 'bearer') {
@@ -137,7 +137,7 @@ declare class ModelerCreatePage {
137
137
  clickDeploySubButton(): Promise<void>;
138
138
  clickCancelButton(): Promise<void>;
139
139
  private recoverModelerSession;
140
- clickRestConnectorOption(): Promise<void>;
140
+ clickRestConnectorOption(recoverSession?: () => Promise<void>): Promise<void>;
141
141
  clickMarketPlaceButton(): Promise<void>;
142
142
  completeDeploymentEndpointConfiguration(): Promise<void>;
143
143
  completePlayConfiguration(): Promise<void>;
@@ -629,21 +629,33 @@ class ModelerCreatePage {
629
629
  async clickCancelButton() {
630
630
  await this.cancelButton.click();
631
631
  }
632
- async recoverModelerSession() {
633
- const url = this.page.url().split('?')[0];
634
- await this.page.context().clearCookies();
635
- await this.page.goto(url, { timeout: 30000, waitUntil: 'domcontentloaded' });
636
- const username = process.env.DEMO_USER_EMAIL || 'demo';
637
- const password = process.env.DISTRO_QA_E2E_TESTS_IDENTITY_FIRSTUSER_PASSWORD || 'demo';
638
- const loginInput = this.page.locator('#username');
639
- if (await loginInput.isVisible({ timeout: 5000 }).catch(() => false)) {
640
- await loginInput.fill(username);
641
- await this.page.locator('#password').fill(password);
642
- await this.page.locator('#kc-login').click();
632
+ async recoverModelerSession(recoverSession) {
633
+ const rawUrl = this.page.url();
634
+ let url;
635
+ if (rawUrl.includes('client_id=web-modeler')) {
636
+ const match = rawUrl.match(/redirect_uri=([^&]+)/);
637
+ url = match
638
+ ? decodeURIComponent(match[1]).split('?')[0]
639
+ : rawUrl.split('?')[0];
643
640
  }
641
+ else {
642
+ url = rawUrl.split('?')[0];
643
+ }
644
+ if (recoverSession) {
645
+ // Caller-provided function handles auth + navigation (e.g. navigationPage.goToModeler).
646
+ // It retries internally; after it returns the session is valid on Modeler home.
647
+ await recoverSession();
648
+ }
649
+ // Navigate to the diagram URL directly — goToModeler lands on Modeler home, and
650
+ // after a pod restart Modeler also loses OIDC state and redirects home, so we go
651
+ // to the diagram explicitly while the session is valid.
652
+ await this.page.goto(url, {
653
+ timeout: 30000,
654
+ waitUntil: 'domcontentloaded',
655
+ });
644
656
  await (0, test_1.expect)(this.secondElement).toBeVisible({ timeout: 60000 });
645
657
  }
646
- async clickRestConnectorOption() {
658
+ async clickRestConnectorOption(recoverSession) {
647
659
  const maxRetries = 4;
648
660
  for (let retries = 0; retries < maxRetries; retries++) {
649
661
  try {
@@ -654,7 +666,7 @@ class ModelerCreatePage {
654
666
  }
655
667
  else {
656
668
  // Recover session cleanly instead of page.reload()
657
- await this.recoverModelerSession();
669
+ await this.recoverModelerSession(recoverSession);
658
670
  await this.secondElement.click({ force: true, timeout: 60000 });
659
671
  await this.changeTypeButton.click({ force: true, timeout: 60000 });
660
672
  await (0, test_1.expect)(this.restConnectorOption).toBeVisible({ timeout: 90000 });
@@ -20,10 +20,16 @@ export declare function createUserAndAssignToRole(page: Page, navigationPage: Na
20
20
  export declare function assignMappingToRole(page: Page, ocIdentityHomePage: OCIdentityHomePage, ocIdentityRolesPage: OCIdentityRolesPage, role: string, mappingRuleId: string, testMappings?: Serializable): Promise<void>;
21
21
  export declare function createAndRunProcess(page: Page, modelerHomePage: ModelerHomePage, modelerCreatePage: ModelerCreatePage, processName: string, processId?: string): Promise<void>;
22
22
  export declare function completeTaskWithRetry(page: Page, taskPanelPage: TaskPanelPage, taskDetailsPage: TaskDetailsPage, taskName: string, taskPriority: string): Promise<void>;
23
- export declare function modelRestConnector(modelerCreatePage: ModelerCreatePage, connectorSettingsPage: ConnectorSettingsPage, connectorMarketplacePage: ConnectorMarketplacePage, processName: string, url: string, auth: string, resultExpression: string, resultVariable?: string, basicAuthCredentials?: {
24
- username: string;
25
- password: string;
26
- }, page?: Page, modelerHomePage?: ModelerHomePage): Promise<void>;
23
+ export declare function modelRestConnector(modelerCreatePage: ModelerCreatePage, connectorSettingsPage: ConnectorSettingsPage, connectorMarketplacePage: ConnectorMarketplacePage, processName: string, url: string, auth: string, resultExpression: string, { resultVariable, basicAuthCredentials, page, modelerHomePage, recoverSession, }?: {
24
+ resultVariable?: string;
25
+ basicAuthCredentials?: {
26
+ username: string;
27
+ password: string;
28
+ };
29
+ page?: Page;
30
+ modelerHomePage?: ModelerHomePage;
31
+ recoverSession?: () => Promise<void>;
32
+ }): Promise<void>;
27
33
  export declare function assertLocatorVisibleWithPaginated(page: Page, locator: Locator, text: string): Promise<void>;
28
34
  export declare function assertLocatorVisibleWithRetry(page: Page, locator: Locator, text: string, timeout?: number, notVisible?: boolean, maxRetries?: number, clickLocator?: Locator): Promise<void>;
29
35
  export declare function assertPageTextWithRetry(page: Page, text: string, notVisible?: boolean, timeout?: number, maxRetries?: number): Promise<void>;
@@ -112,10 +112,7 @@ async function completeTaskWithRetry(page, taskPanelPage, taskDetailsPage, taskN
112
112
  throw new Error(`Completion of task ${taskName} failed after ${attempt} attempts (${TOTAL_TIMEOUT_MS / 1000}s timeout)`);
113
113
  }
114
114
  exports.completeTaskWithRetry = completeTaskWithRetry;
115
- async function modelRestConnector(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, url, auth, resultExpression, resultVariable = '', basicAuthCredentials = {
116
- username: '',
117
- password: '',
118
- }, page, modelerHomePage) {
115
+ async function modelRestConnector(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, url, auth, resultExpression, { resultVariable = '', basicAuthCredentials = { username: '', password: '' }, page, modelerHomePage, recoverSession, } = {}) {
119
116
  await (0, test_1.expect)(modelerCreatePage.generalPanel).toBeVisible({
120
117
  timeout: 120000,
121
118
  });
@@ -179,7 +176,7 @@ async function modelRestConnector(modelerCreatePage, connectorSettingsPage, conn
179
176
  }
180
177
  }
181
178
  }
182
- await modelerCreatePage.clickRestConnectorOption();
179
+ await modelerCreatePage.clickRestConnectorOption(recoverSession);
183
180
  await connectorSettingsPage.clickAuthenticationTab();
184
181
  await connectorSettingsPage.clickHTTPEndpointTab();
185
182
  if (auth == 'bearer') {
@@ -143,7 +143,13 @@ SM_8_10_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
143
143
  await modelerHomePage.clickBpmnTemplateOption();
144
144
  });
145
145
  await SM_8_10_1.test.step('Create BPMN Diagram with REST Connector using secrets and Start Process Instance', async () => {
146
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/basic-auth-test', 'basic', '{message:response.body.message}', 'result', { username: '{{secrets.username}}', password: '{{secrets.password}}' });
146
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/basic-auth-test', 'basic', '{message:response.body.message}', {
147
+ resultVariable: 'result',
148
+ basicAuthCredentials: {
149
+ username: '{{secrets.username}}',
150
+ password: '{{secrets.password}}',
151
+ },
152
+ });
147
153
  await modelerCreatePage.runProcessInstance('', mtTenant);
148
154
  await (0, sleep_1.sleep)(20000);
149
155
  });
@@ -301,7 +301,9 @@ if (process.env.IS_MT === 'true') {
301
301
  await modelerHomePage.clickBpmnTemplateOption();
302
302
  });
303
303
  await SM_8_10_1.test.step('Create A Diagram with a REST Connector and Start Process Instance', async () => {
304
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body');
304
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', {
305
+ recoverSession: () => navigationPage.goToModeler(undefined, credentials),
306
+ });
305
307
  await modelerCreatePage.runProcessInstance('', tenantName); //Identity bug https://github.com/camunda/camunda/issues/35834
306
308
  });
307
309
  await SM_8_10_1.test.step('View Process Instance in Operate & assert process is complete', async () => {
@@ -142,7 +142,10 @@ SM_8_10_1.test.describe.parallel('Smoke Tests', () => {
142
142
  await modelerHomePage.clickBpmnTemplateOption();
143
143
  });
144
144
  await SM_8_10_1.test.step('Create BPMN Diagram with REST Connector with Basic Auth and Start Process Instance', async () => {
145
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/basic-auth-test', 'basic', '{message:response.body.message}', 'result', { username: 'username', password: 'password' });
145
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/basic-auth-test', 'basic', '{message:response.body.message}', {
146
+ resultVariable: 'result',
147
+ basicAuthCredentials: { username: 'username', password: 'password' },
148
+ });
146
149
  await modelerCreatePage.runProcessInstance();
147
150
  });
148
151
  await SM_8_10_1.test.step('View Process Instance in Operate, assert it completes and assert result expression', async () => {
@@ -24,7 +24,7 @@ SM_8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
24
24
  await modelerHomePage.clickBpmnTemplateOption();
25
25
  });
26
26
  await SM_8_8_1.test.step('Create BPMN Diagram with REST Connector and Start Process Instance', async () => {
27
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', '', { username: '', password: '' }, page, modelerHomePage);
27
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', { page, modelerHomePage });
28
28
  await modelerCreatePage.runProcessInstance();
29
29
  await (0, sleep_1.sleep)(20000);
30
30
  });
@@ -54,7 +54,7 @@ SM_8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
54
54
  await modelerHomePage.clickBpmnTemplateOption();
55
55
  });
56
56
  await SM_8_8_1.test.step('Create BPMN Diagram with REST Connector with Basic Auth and Start Process Instance', async () => {
57
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}', '', { username: '', password: '' }, page, modelerHomePage);
57
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'bearer', '{message:response.body.status}', { page, modelerHomePage });
58
58
  await modelerCreatePage.runProcessInstance();
59
59
  await (0, _setup_1.performBearerTokenAuthPostRequest)('https://camunda.proxy.beeceptor.com/pre-prod/bearer-auth-test', 'thisisabearertoken');
60
60
  await (0, sleep_1.sleep)(20000);
@@ -145,7 +145,15 @@ SM_8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
145
145
  await modelerHomePage.clickBpmnTemplateOption();
146
146
  });
147
147
  await SM_8_8_1.test.step('Create BPMN Diagram with REST Connector using secrets and Start Process Instance', async () => {
148
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/basic-auth-test', 'basic', '{message:response.body.message}', 'result', { username: '{{secrets.username}}', password: '{{secrets.password}}' }, page, modelerHomePage);
148
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/basic-auth-test', 'basic', '{message:response.body.message}', {
149
+ resultVariable: 'result',
150
+ basicAuthCredentials: {
151
+ username: '{{secrets.username}}',
152
+ password: '{{secrets.password}}',
153
+ },
154
+ page,
155
+ modelerHomePage,
156
+ });
149
157
  await modelerCreatePage.runProcessInstance();
150
158
  await (0, sleep_1.sleep)(20000);
151
159
  });
@@ -157,7 +157,7 @@ if (process.env.IS_MT === 'true') {
157
157
  await modelerHomePage.clickBpmnTemplateOption();
158
158
  });
159
159
  await SM_8_8_1.test.step('Create A Diagram with a REST Connector and Start Process Instance', async () => {
160
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', '', { username: '', password: '' }, page, modelerHomePage);
160
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', { page, modelerHomePage });
161
161
  await modelerCreatePage.runProcessInstance('', tenantName); //Identity bug https://github.com/camunda/camunda/issues/35834
162
162
  });
163
163
  await SM_8_8_1.test.step('View Process Instance in Operate & assert process is complete', async () => {
@@ -302,7 +302,11 @@ if (process.env.IS_MT === 'true') {
302
302
  await modelerHomePage.clickBpmnTemplateOption();
303
303
  });
304
304
  await SM_8_8_1.test.step('Create A Diagram with a REST Connector and Start Process Instance', async () => {
305
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', '', { username: '', password: '' }, page, modelerHomePage);
305
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', {
306
+ page,
307
+ modelerHomePage,
308
+ recoverSession: () => navigationPage.goToModeler(undefined, credentials),
309
+ });
306
310
  await modelerCreatePage.runProcessInstance('', tenantName); //Identity bug https://github.com/camunda/camunda/issues/35834
307
311
  });
308
312
  await SM_8_8_1.test.step('View Process Instance in Operate & assert process is complete', async () => {
@@ -436,14 +440,14 @@ if (process.env.IS_MT === 'true') {
436
440
  await modelerHomePage.clickBpmnTemplateOption();
437
441
  });
438
442
  await SM_8_8_1.test.step('Create A Diagram with a REST Connector and Start Process Instance With Tenant 1', async () => {
439
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName1, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', '', { username: '', password: '' }, page, modelerHomePage);
443
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName1, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', { page, modelerHomePage });
440
444
  await modelerCreatePage.runProcessInstance('', tenantName1); //Identity bug https://github.com/camunda/camunda/issues/35834
441
445
  });
442
446
  await SM_8_8_1.test.step('Create A Diagram with a REST Connector and Start Process Instance With Tenant 2', async () => {
443
447
  await modelerHomePage.clickProjectBreadcrumb();
444
448
  await modelerHomePage.clickDiagramTypeDropdown();
445
449
  await modelerHomePage.clickBpmnTemplateOption();
446
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName2, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', '', { username: '', password: '' }, page, modelerHomePage);
450
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName2, 'https://camunda.proxy.beeceptor.com/pre-prod/no-auth-test', 'noAuth', 'body', { page, modelerHomePage });
447
451
  await modelerCreatePage.runProcessInstance('', tenantName2);
448
452
  });
449
453
  await SM_8_8_1.test.step('View Process Instances in Operate, and Assert Process Complete in Operate with Correct Tenant', async () => {
@@ -147,7 +147,12 @@ SM_8_8_1.test.describe.parallel('Smoke Tests', () => {
147
147
  await modelerHomePage.clickBpmnTemplateOption();
148
148
  });
149
149
  await SM_8_8_1.test.step('Create BPMN Diagram with REST Connector with Basic Auth and Start Process Instance', async () => {
150
- await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/basic-auth-test', 'basic', '{message:response.body.message}', 'result', { username: 'username', password: 'password' }, page, modelerHomePage);
150
+ await (0, UtilitiesPage_1.modelRestConnector)(modelerCreatePage, connectorSettingsPage, connectorMarketplacePage, processName, 'https://camunda.proxy.beeceptor.com/pre-prod/basic-auth-test', 'basic', '{message:response.body.message}', {
151
+ resultVariable: 'result',
152
+ basicAuthCredentials: { username: 'username', password: 'password' },
153
+ page,
154
+ modelerHomePage,
155
+ });
151
156
  await modelerCreatePage.runProcessInstance();
152
157
  });
153
158
  await SM_8_8_1.test.step('View Process Instance in Operate, assert it completes and assert result expression', async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.563",
3
+ "version": "0.0.564",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",