@camunda/e2e-test-suite 0.0.778 → 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.
@@ -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.778",
3
+ "version": "0.0.779",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",