@camunda/e2e-test-suite 0.0.1072 → 0.0.1074

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.
@@ -81,9 +81,14 @@ class OCTenantPage {
81
81
  .getByRole('dialog')
82
82
  .getByRole('button', { name: 'Cancel' });
83
83
  this.gotItButton = page.getByRole('button', { name: 'Got it' });
84
- this.filterTableSearchbox = page.getByRole('searchbox', {
85
- name: 'Filter table',
86
- });
84
+ // The design-system Admin shell replaced Carbon's table toolbar search
85
+ // (labelled "Filter table") with an input whose aria-label is its
86
+ // placeholder, so match the new shell first and fall back to the legacy
87
+ // one - the same dual-shell pattern the Admin nav locators use.
88
+ this.filterTableSearchbox = page
89
+ .getByRole('searchbox', { name: 'Search by tenant ID' })
90
+ .or(page.getByRole('searchbox', { name: 'Filter table' }))
91
+ .first();
87
92
  this.row = (name) => this.page.getByRole('row').filter({ hasText: name }).first();
88
93
  }
89
94
  async clickCreateTenantMainButton() {
@@ -196,7 +201,7 @@ class OCTenantPage {
196
201
  catch (error) {
197
202
  console.warn(`Attempt ${attempt} to click tenant '${tenantName}' failed. Retrying...`, error);
198
203
  if (attempt === maxRetries) {
199
- throw new Error(`Failed to click tenant '${tenantName}' after ${maxRetries} attempts.`);
204
+ throw new Error(`Failed to click tenant '${tenantName}' after ${maxRetries} attempts. Last error: ${error}`);
200
205
  }
201
206
  }
202
207
  }
@@ -161,7 +161,8 @@ _8_8_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
161
161
  await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateProcessInstancePage, operateProcessInstancePage.completedIcon, 'Completed icon', 60000);
162
162
  });
163
163
  });
164
- (0, _8_8_1.test)('Connector Secrets User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
164
+ // Skipped due to bug #8500: https://github.com/camunda/connectors/issues/8500
165
+ _8_8_1.test.skip('Connector Secrets User Flow - GCP', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
165
166
  _8_8_1.test.slow();
166
167
  const processName = 'REST_Connector_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
167
168
  await _8_8_1.test.step('Navigate to Web Modeler', async () => {
@@ -62,7 +62,8 @@ _8_8_1.test.describe('IDP User Flow Tests', () => {
62
62
  });
63
63
  _8_8_1.test.describe('Unstructured Extraction', () => {
64
64
  for (const params of unstructuredTestCases) {
65
- (0, _8_8_1.test)(`${params.provider} unstructured (${params.model}) - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
65
+ // Skipped due to bug #8500: https://github.com/camunda/connectors/issues/8500
66
+ _8_8_1.test.skip(`${params.provider} unstructured (${params.model}) - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
66
67
  _8_8_1.test.slow();
67
68
  idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} unstructured` + ' - IDP_Application_Name');
68
69
  idpDocumentExtractionTemplateName = await (0, randomName_1.randomNameAgregator)(`${params.provider} unstructured` + ' - IDP_Extraction_Template_Name');
@@ -137,7 +138,8 @@ _8_8_1.test.describe('IDP User Flow Tests', () => {
137
138
  });
138
139
  _8_8_1.test.describe('Structured Extraction', () => {
139
140
  for (const params of structuredTestCases) {
140
- (0, _8_8_1.test)(`${params.provider} structured - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
141
+ // Skipped due to bug #8500: https://github.com/camunda/connectors/issues/8500
142
+ _8_8_1.test.skip(`${params.provider} structured - User creates an idp application with a document extraction template`, async ({ page, idpCreatePage, modelerHomePage, homePage, appsPage, clusterPage, clusterSecretsPage, }) => {
141
143
  _8_8_1.test.slow();
142
144
  idpApplicationName = await (0, randomName_1.randomNameAgregator)(`${params.provider} structured` + ' - IDP_Application_Name');
143
145
  idpDocumentExtractionTemplateName = await (0, randomName_1.randomNameAgregator)(`${params.provider} structured` + ' - IDP_Extraction_Template_Name');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1072",
3
+ "version": "0.0.1074",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",