@camunda/e2e-test-suite 0.0.1605 → 0.0.1607
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.
|
@@ -19,6 +19,8 @@ const sleep_1 = require("../../utils/sleep");
|
|
|
19
19
|
const constants_1 = require("../../utils/constants");
|
|
20
20
|
const testUser = (0, users_1.getTestUser)('thirteenthUser');
|
|
21
21
|
const CLUSTER_NAME = 'Test Cluster';
|
|
22
|
+
// Use fixed names for upgrade testing validation, random names for regular testing
|
|
23
|
+
const useFixedNames = process.env.UPGRADE_BASELINE === 'true';
|
|
22
24
|
_8_10_1.test.describe.configure({ mode: 'parallel' });
|
|
23
25
|
_8_10_1.test.describe('Smoke Tests', () => {
|
|
24
26
|
_8_10_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
|
|
@@ -30,11 +32,15 @@ _8_10_1.test.describe('Smoke Tests', () => {
|
|
|
30
32
|
});
|
|
31
33
|
(0, _8_10_1.test)('Most Common Flow User Flow With All Apps', async ({ page, loginPage, homePage, modelerHomePage, appsPage, modelerCreatePage, formJsPage, }, testInfo) => {
|
|
32
34
|
_8_10_1.test.slow();
|
|
33
|
-
const randomString =
|
|
35
|
+
const randomString = useFixedNames
|
|
36
|
+
? 'UpgradeTest'
|
|
37
|
+
: await (0, _setup_1.generateRandomStringAsync)(3);
|
|
34
38
|
const formName = 'New form' + randomString;
|
|
35
39
|
const processName = 'Zeebe_User_Task_Process' + randomString;
|
|
36
40
|
const userTaskName = 'zeebeUserTaskWithForm' + randomString;
|
|
37
|
-
const reportName =
|
|
41
|
+
const reportName = useFixedNames
|
|
42
|
+
? 'UpgradeTestReport'
|
|
43
|
+
: await (0, _setup_1.generateRandomStringAsync)(5);
|
|
38
44
|
let appTab;
|
|
39
45
|
// One wall-clock deadline for the whole flow. The per-hop budgets below
|
|
40
46
|
// (2 x 8 min Operate import, 10 min Tasklist, 10 x 2 min Optimize import)
|
|
@@ -278,7 +284,9 @@ _8_10_1.test.describe('Smoke Tests', () => {
|
|
|
278
284
|
});
|
|
279
285
|
(0, _8_10_1.test)('Most Common REST Connector User Flow', async ({ page, loginPage, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }, testInfo) => {
|
|
280
286
|
_8_10_1.test.slow();
|
|
281
|
-
const randomString =
|
|
287
|
+
const randomString = useFixedNames
|
|
288
|
+
? 'UpgradeTest'
|
|
289
|
+
: await (0, _setup_1.generateRandomStringAsync)(3);
|
|
282
290
|
const processName = 'REST_Connector_Basic_Auth_Process' + randomString;
|
|
283
291
|
await _8_10_1.test.step('Navigate to Web Modeler', async () => {
|
|
284
292
|
await (0, test_1.expect)(homePage.camundaComponentsButton).toBeVisible({
|