@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('
|
|
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('
|
|
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('
|
|
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('
|
|
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('
|
|
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('
|
|
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
|
-
|
|
173
|
-
|
|
174
|
-
|
|
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
|
-
(
|
|
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
|
-
|
|
173
|
-
|
|
174
|
-
|
|
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
|
-
(
|
|
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');
|