@camunda/e2e-test-suite 0.0.1077 → 0.0.1078
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.
|
@@ -1373,11 +1373,24 @@ class ModelerCreatePage {
|
|
|
1373
1373
|
// It renders unless localStorage already carries the seen flag, which it
|
|
1374
1374
|
// reads on mount; a fresh Playwright context always starts empty, so set the
|
|
1375
1375
|
// flag before entering Test mode rather than clicking the modal away.
|
|
1376
|
+
// camunda-hub cfaea03b0d renamed the storage key `play-testAnnouncementSeen`
|
|
1377
|
+
// -> `test-studio-testAnnouncementSeen`; the hook still reads the old key as
|
|
1378
|
+
// a legacy fallback, so write both and stay correct either way.
|
|
1376
1379
|
async suppressTestModeAnnouncement() {
|
|
1377
|
-
await this.page.evaluate(() =>
|
|
1380
|
+
await this.page.evaluate(() => {
|
|
1381
|
+
localStorage.setItem('test-studio-testAnnouncementSeen', 'true');
|
|
1382
|
+
localStorage.setItem('play-testAnnouncementSeen', 'true');
|
|
1383
|
+
});
|
|
1378
1384
|
}
|
|
1379
1385
|
async switchToPlay() {
|
|
1380
1386
|
await this.suppressTestModeAnnouncement();
|
|
1387
|
+
// completePlayConfiguration re-enters Play after ensureStageCluster's
|
|
1388
|
+
// goto() detour, and the diagram page keeps rendering well past the point
|
|
1389
|
+
// goto() resolves: in a verification run the mode tabs were still absent
|
|
1390
|
+
// 10s after it returned, so the click burned the whole global
|
|
1391
|
+
// actionTimeout on a page that was merely still booting. Wait for the tab
|
|
1392
|
+
// on its own, longer budget first, then click within the normal one.
|
|
1393
|
+
await this.playTab.waitFor({ state: 'visible', timeout: 90000 });
|
|
1381
1394
|
await this.playTab.click();
|
|
1382
1395
|
}
|
|
1383
1396
|
async completePlayConfiguration(clusterName) {
|
|
@@ -292,8 +292,7 @@ _8_10_1.test.describe('Smoke Tests', () => {
|
|
|
292
292
|
await optimizeReportPage.assertUserTaskInstanceCountWithRetry(2, appTab, countRetries, Math.floor(flowBudget(countRetries * constants_1.TIMEOUT.navigation) / countRetries));
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
|
-
|
|
296
|
-
_8_10_1.test.skip('Most Common REST Connector User Flow', async ({ page, loginPage, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }, testInfo) => {
|
|
295
|
+
(0, _8_10_1.test)('Most Common REST Connector User Flow', async ({ page, loginPage, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }, testInfo) => {
|
|
297
296
|
_8_10_1.test.slow();
|
|
298
297
|
const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
|
|
299
298
|
const processName = 'REST_Connector_Basic_Auth_Process' + randomString;
|