@camunda/e2e-test-suite 0.0.954 → 0.0.956
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.
|
@@ -222,7 +222,8 @@ _8_7_1.test.describe('RBA Enabled User Flows Test', () => {
|
|
|
222
222
|
await (0, UtilitiesPage_1.assertPageTextWithRetry)(page, processName2, true, 30000);
|
|
223
223
|
});
|
|
224
224
|
});
|
|
225
|
-
|
|
225
|
+
// Skipped due to bug #56733: https://github.com/camunda/camunda/issues/56733
|
|
226
|
+
_8_7_1.test.skip('RBA On User Flow - Permission for All Processes', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, taskPanelPage, taskProcessesPage, operateHomePage, consoleOrganizationsPage, }) => {
|
|
226
227
|
_8_7_1.test.slow();
|
|
227
228
|
const clusterName = clusterNames['RBA On User Flow - Permission for All Processes'];
|
|
228
229
|
const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
|
|
@@ -350,8 +350,7 @@ _8_9_1.test.describe('API optimize SaaS Tests', () => {
|
|
|
350
350
|
});
|
|
351
351
|
await assertUnauthorizedResponseBody(response);
|
|
352
352
|
});
|
|
353
|
-
|
|
354
|
-
_8_9_1.test.skip('Import to non-existent collection (404)', async ({ request }) => {
|
|
353
|
+
(0, _8_9_1.test)('Import to non-existent collection (404)', async ({ request }) => {
|
|
355
354
|
const exportResponse = await request.post(`${baseUrl}/api/public/export/dashboard/definition/json`, {
|
|
356
355
|
headers: {
|
|
357
356
|
Authorization: optimizeBearerToken,
|
|
@@ -6,9 +6,8 @@ const TaskPanelPage_1 = require("../../pages/8.9/TaskPanelPage");
|
|
|
6
6
|
const TaskDetailsPage_1 = require("../../pages/8.9/TaskDetailsPage");
|
|
7
7
|
const AppsPage_1 = require("../../pages/8.9/AppsPage");
|
|
8
8
|
const OperateProcessInstancePage_1 = require("../../pages/8.9/OperateProcessInstancePage");
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
// import {OptimizeDashboardPage} from '../../pages/8.9/OptimizeDashboardPage';
|
|
9
|
+
const OptimizeHomePage_1 = require("../../pages/8.9/OptimizeHomePage");
|
|
10
|
+
const OptimizeDashboardPage_1 = require("../../pages/8.9/OptimizeDashboardPage");
|
|
12
11
|
const fileUpload_1 = require("../../utils/fileUpload");
|
|
13
12
|
const _setup_1 = require("../../test-setup.js");
|
|
14
13
|
const UtilitiesPage_1 = require("../../pages/8.9/UtilitiesPage");
|
|
@@ -520,8 +519,7 @@ _8_9_1.test.describe('Web Modeler User Flow Tests', () => {
|
|
|
520
519
|
(0, _8_9_1.test)('Conditional Events - Deploy, verify in Operate and verify process in Optimize dashboard @tasklistV2', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, }) => {
|
|
521
520
|
_8_9_1.test.slow();
|
|
522
521
|
const bpmnFileName = 'Conditional_Events_All.bpmn';
|
|
523
|
-
|
|
524
|
-
// const processName = 'Conditional Events Auto-Run';
|
|
522
|
+
const processName = 'Conditional Events Auto-Run';
|
|
525
523
|
await _8_9_1.test.step('Navigate to Web Modeler', async () => {
|
|
526
524
|
await (0, test_1.expect)(homePage.camundaComponentsButton).toBeVisible({
|
|
527
525
|
timeout: 120000,
|
|
@@ -559,17 +557,16 @@ _8_9_1.test.describe('Web Modeler User Flow Tests', () => {
|
|
|
559
557
|
await operateProcessInstancePage.closePopOverIfVisible();
|
|
560
558
|
await operateProcessInstancePage.assertProcessCompleteStatusWithRetry(60000, 15);
|
|
561
559
|
await operateProcessInstancePage.assertProcessVariableContainsText('myVar', '8');
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
// });
|
|
560
|
+
await _8_9_1.test.step('Navigate to Optimize and verify process in dashboard', async () => {
|
|
561
|
+
const operateTabAppsPage = new AppsPage_1.AppsPage(operateTab);
|
|
562
|
+
await operateTabAppsPage.clickCamundaApps();
|
|
563
|
+
await operateTabAppsPage.clickOptimize(clusterName);
|
|
564
|
+
const operateTabOptimizeHomePage = new OptimizeHomePage_1.OptimizeHomePage(operateTab);
|
|
565
|
+
const operateTabOptimizeDashboardPage = new OptimizeDashboardPage_1.OptimizeDashboardPage(operateTab);
|
|
566
|
+
await operateTabOptimizeHomePage.clickDashboardLink();
|
|
567
|
+
await (0, sleep_1.sleep)(60000);
|
|
568
|
+
await operateTabOptimizeDashboardPage.processLinkAssertion(processName, 5);
|
|
569
|
+
});
|
|
573
570
|
});
|
|
574
571
|
});
|
|
575
572
|
});
|
package/dist/utils/utils.js
CHANGED
|
@@ -15,7 +15,9 @@ async function throwIfRateLimited(loginPage) {
|
|
|
15
15
|
}
|
|
16
16
|
async function loginToApp(appName, page) {
|
|
17
17
|
await page.goto(appName, { waitUntil: 'domcontentloaded', timeout: 60000 });
|
|
18
|
-
|
|
18
|
+
// 8.8 SaaS occasionally experiences 429s on app.js during navigation rendering,
|
|
19
|
+
// causing accessible names to fail population. Extend the networkidle wait.
|
|
20
|
+
await page.waitForLoadState('networkidle', { timeout: 60000 }).catch(() => { });
|
|
19
21
|
const loginPage = new LoginPage_1.LoginPage(page);
|
|
20
22
|
// Auth0 serves a tenant-wide rate-limit error page that carries none of the
|
|
21
23
|
// usual auth controls. Settle on whichever of the two actually renders, then
|