@camunda/e2e-test-suite 0.0.777 → 0.0.779

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.
@@ -189,7 +189,7 @@ class ModelerCreatePage {
189
189
  this.marketPlaceButton = page.getByTitle('Browse Marketplace for more Connectors');
190
190
  this.publicHolidayConnectorOption = page
191
191
  .locator('[data-test="modeler"]')
192
- .getByText('Worldwide Public Holiday');
192
+ .getByText('Public Holiday Outbound');
193
193
  this.publicHolidayYearOption = page.getByLabel('Year');
194
194
  this.publicHolidayCountryCodeOption = page.getByLabel('Countrycode');
195
195
  this.implementationSection = page.locator('[data-group-id="group-userTaskImplementation"]');
@@ -800,7 +800,7 @@ class ModelerCreatePage {
800
800
  await this.clickMarketPlaceButton();
801
801
  const connectorMarketplacePage = new ConnectorMarketplacePage_1.ConnectorMarketplacePage(this.page);
802
802
  await connectorMarketplacePage.clickSearchForConnectorTextbox();
803
- await connectorMarketplacePage.fillSearchForConnectorTextbox('Worldwide Public Holiday');
803
+ await connectorMarketplacePage.fillSearchForConnectorTextbox('Public Holiday Connector');
804
804
  await (0, sleep_1.sleep)(10000);
805
805
  await connectorMarketplacePage.downloadConnectorToProject();
806
806
  }
@@ -814,7 +814,7 @@ class ModelerCreatePage {
814
814
  if (await changeElementSearch
815
815
  .isVisible({ timeout: 5000 })
816
816
  .catch(() => false)) {
817
- await changeElementSearch.pressSequentially('Worldwide Public Holiday', { delay: 50 });
817
+ await changeElementSearch.pressSequentially('Public Holiday Outbound', { delay: 50 });
818
818
  }
819
819
  // Importing via "Save as copy" can leave both the pre-existing and the
820
820
  // newly imported template in the change-element list, so target the
@@ -185,7 +185,7 @@ class ModelerCreatePage {
185
185
  this.marketPlaceButton = page.getByTitle('Browse Marketplace for more Connectors');
186
186
  this.publicHolidayConnectorOption = page
187
187
  .locator('[data-test="modeler"]')
188
- .getByText('Worldwide Public Holiday');
188
+ .getByText('Public Holiday Outbound');
189
189
  this.publicHolidayYearOption = page.getByLabel('Year');
190
190
  this.publicHolidayCountryCodeOption = page.getByLabel('Countrycode');
191
191
  this.implementationSection = page.locator('[data-group-id="group-userTaskImplementation"]');
@@ -772,7 +772,7 @@ class ModelerCreatePage {
772
772
  await this.clickMarketPlaceButton();
773
773
  const connectorMarketplacePage = new ConnectorMarketplacePage_1.ConnectorMarketplacePage(this.page);
774
774
  await connectorMarketplacePage.clickSearchForConnectorTextbox();
775
- await connectorMarketplacePage.fillSearchForConnectorTextbox('Worldwide Public Holiday');
775
+ await connectorMarketplacePage.fillSearchForConnectorTextbox('Public Holiday Connector');
776
776
  await (0, sleep_1.sleep)(10000);
777
777
  await connectorMarketplacePage.downloadConnectorToProject();
778
778
  }
@@ -786,7 +786,7 @@ class ModelerCreatePage {
786
786
  if (await changeElementSearch
787
787
  .isVisible({ timeout: 5000 })
788
788
  .catch(() => false)) {
789
- await changeElementSearch.pressSequentially('Worldwide Public Holiday', { delay: 50 });
789
+ await changeElementSearch.pressSequentially('Public Holiday Outbound', { delay: 50 });
790
790
  }
791
791
  await this.publicHolidayConnectorOption.waitFor({
792
792
  state: 'visible',
@@ -169,19 +169,18 @@ SM_8_8_1.test.describe.parallel('Smoke Tests', () => {
169
169
  });
170
170
  console.log(`[${testInfo.title}] Test end: timeout = ${testInfo.timeout}`);
171
171
  });
172
- (0, SM_8_8_1.test)('Assign Test User Roles @tasklistV2', async ({ ocIdentityHomePage, ocIdentityRolesPage, }) => {
173
- if (process.env.IS_MIGRATION !== 'true') {
174
- SM_8_8_1.test.skip(true, 'Skipping test because test not required in this test environment');
175
- }
172
+ // These role-assignment tests are only relevant to the upgrade/migration
173
+ // path (IS_MIGRATION=true). Gate them at declaration time so that in every
174
+ // other environment (e.g. Helm install smoke tests) they are statically
175
+ // skipped and their shared beforeEach setup never runs.
176
+ const migrationOnlyTest = process.env.IS_MIGRATION === 'true' ? SM_8_8_1.test : SM_8_8_1.test.skip;
177
+ migrationOnlyTest('Assign Test User Roles @tasklistV2', async ({ ocIdentityHomePage, ocIdentityRolesPage }) => {
176
178
  await ocIdentityHomePage.clickRolesTab();
177
179
  await ocIdentityRolesPage.clickRole('admin');
178
180
  await ocIdentityRolesPage.assignUserToRole('bart');
179
181
  await ocIdentityRolesPage.assignUserToRole('lisa');
180
182
  });
181
- (0, SM_8_8_1.test)('Assign Test Client Admin Role @tasklistV2', async ({ ocIdentityHomePage, ocIdentityRolesPage, }) => {
182
- if (process.env.IS_MIGRATION !== 'true') {
183
- SM_8_8_1.test.skip(true, 'Skipping test because test not required in this test environment');
184
- }
183
+ migrationOnlyTest('Assign Test Client Admin Role @tasklistV2', async ({ ocIdentityHomePage, ocIdentityRolesPage }) => {
185
184
  await ocIdentityHomePage.clickRolesTab();
186
185
  await ocIdentityRolesPage.clickRole('admin');
187
186
  await ocIdentityRolesPage.addClientToRole('test');
@@ -169,19 +169,18 @@ SM_8_9_1.test.describe.parallel('Smoke Tests', () => {
169
169
  });
170
170
  console.log(`[${testInfo.title}] Test end: timeout = ${testInfo.timeout}`);
171
171
  });
172
- (0, SM_8_9_1.test)('Assign Test User Roles @tasklistV2', async ({ ocIdentityHomePage, ocIdentityRolesPage, }) => {
173
- if (process.env.IS_MIGRATION !== 'true') {
174
- SM_8_9_1.test.skip(true, 'Skipping test because test not required in this test environment');
175
- }
172
+ // These role-assignment tests are only relevant to the upgrade/migration
173
+ // path (IS_MIGRATION=true). Gate them at declaration time so that in every
174
+ // other environment (e.g. Helm install smoke tests) they are statically
175
+ // skipped and their shared beforeEach setup never runs.
176
+ const migrationOnlyTest = process.env.IS_MIGRATION === 'true' ? SM_8_9_1.test : SM_8_9_1.test.skip;
177
+ migrationOnlyTest('Assign Test User Roles @tasklistV2', async ({ ocIdentityHomePage, ocIdentityRolesPage }) => {
176
178
  await ocIdentityHomePage.clickRolesTab();
177
179
  await ocIdentityRolesPage.clickRole('admin');
178
180
  await ocIdentityRolesPage.assignUserToRole('bart');
179
181
  await ocIdentityRolesPage.assignUserToRole('lisa');
180
182
  });
181
- (0, SM_8_9_1.test)('Assign Test Client Admin Role @tasklistV2', async ({ ocIdentityHomePage, ocIdentityRolesPage, }) => {
182
- if (process.env.IS_MIGRATION !== 'true') {
183
- SM_8_9_1.test.skip(true, 'Skipping test because test not required in this test environment');
184
- }
183
+ migrationOnlyTest('Assign Test Client Admin Role @tasklistV2', async ({ ocIdentityHomePage, ocIdentityRolesPage }) => {
185
184
  await ocIdentityHomePage.clickRolesTab();
186
185
  await ocIdentityRolesPage.clickRole('admin');
187
186
  await ocIdentityRolesPage.addClientToRole('test');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.777",
3
+ "version": "0.0.779",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",